public interface ChunkFactory
Modifier and Type | Interface and Description |
---|---|
static class |
ChunkFactory.ChunkCreationResult |
static class |
ChunkFactory.Stage |
static class |
ChunkFactory.Stats |
Modifier and Type | Method and Description |
---|---|
ChunkFactory.ChunkCreationResult |
createChunk(int x,
int z)
Create the chunk at the specified location, if present.
|
int |
getMaxHeight()
Get the height of the chunks this chunk factory will create.
|
int |
getMinHeight()
Get the depth of the chunks this factory will create.
|
ChunkFactory.ChunkCreationResult createChunk(int x, int z)
x
- The X coordinate in the Minecraft coordinate space of the chunk
to generate.z
- The Z coordinate in the Minecraft coordinate space of the chunk
to generate.null
if no chunk is present at
the specified coordinates.int getMinHeight()
int getMaxHeight()