public final class PopulationChunkManager extends Object implements ChunkManager
ChunkManager used during chunk population.| Constructor and Description |
|---|
PopulationChunkManager(@NonNull Chunk chunk,
@NonNull LockableChunk[] allChunks,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
BlockState |
getBlockAt(int x,
int y,
int z) |
BlockState |
getBlockAt(int x,
int y,
int z,
int layer) |
IChunk |
getChunk(int chunkX,
int chunkZ) |
void |
setBlockAt(int x,
int y,
int z,
BlockState state) |
void |
setBlockAt(int x,
int y,
int z,
int layer,
BlockState state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlockAt, getBlockAt, getChunk, getChunk, getSeed, setBlockAt, setBlockAtpublic PopulationChunkManager(@NonNull
@NonNull Chunk chunk,
@NonNull
@NonNull LockableChunk[] allChunks,
long seed)
public BlockState getBlockAt(int x, int y, int z)
getBlockAt in interface ChunkManagerpublic BlockState getBlockAt(int x, int y, int z, int layer)
getBlockAt in interface ChunkManagerpublic void setBlockAt(int x,
int y,
int z,
BlockState state)
setBlockAt in interface ChunkManagerpublic void setBlockAt(int x,
int y,
int z,
int layer,
BlockState state)
setBlockAt in interface ChunkManagerpublic IChunk getChunk(int chunkX, int chunkZ)
getChunk in interface ChunkManagerCopyright © 2020. All rights reserved.