public class SimpleChunkFactory extends java.lang.Object implements ChunkFactory
ChunkFactory.ChunkCreationResult, ChunkFactory.Stage, ChunkFactory.Stats| Constructor and Description |
|---|
SimpleChunkFactory(int maxHeight,
int version) |
| Modifier and Type | Method and Description |
|---|---|
ChunkFactory.ChunkCreationResult |
createChunk(int chunkX,
int chunkZ)
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.
|
public int getMinHeight()
ChunkFactorygetMinHeight in interface ChunkFactorypublic int getMaxHeight()
ChunkFactorygetMaxHeight in interface ChunkFactorypublic ChunkFactory.ChunkCreationResult createChunk(int chunkX, int chunkZ)
ChunkFactorycreateChunk in interface ChunkFactorychunkX - The X coordinate in the Minecraft coordinate space of the chunk
to generate.chunkZ - The Z coordinate in the Minecraft coordinate space of the chunk
to generate.null if no chunk is present at
the specified coordinates.