@FunctionalInterface
public static interface AbstractLayerExporter.ChunksInTilesVisitor
| Modifier and Type | Method and Description |
|---|---|
boolean |
visitChunk(Tile tile,
int chunkX,
int chunkZ,
java.util.function.Supplier<Chunk> chunkSupplier)
Visit a chunk.
|
boolean visitChunk(Tile tile, int chunkX, int chunkZ, java.util.function.Supplier<Chunk> chunkSupplier)
tile - The tile on which the chunk is located.chunkX - The global X coordinate of the chunk, in chunk coordinates.chunkZ - The global Z coorindate of the chunk, in chunk coordinates.chunkSupplier - The lazy chunk loader. The chunk will not be actually loaded until
Supplier.get() is invoked on this supplier.true if more chunks should be visited; false if the process should be aborted.