public final class PopulationChunkManager extends Object implements org.cloudburstmc.api.level.ChunkManager
ChunkManager used during chunk population.| Constructor and Description |
|---|
PopulationChunkManager(@NonNull org.cloudburstmc.api.level.chunk.Chunk chunk,
@NonNull org.cloudburstmc.api.level.chunk.LockableChunk[] allChunks,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
org.cloudburstmc.api.block.Block |
getBlock(int x,
int y,
int z) |
org.cloudburstmc.api.block.BlockState |
getBlockState(int x,
int y,
int z) |
org.cloudburstmc.api.block.BlockState |
getBlockState(int x,
int y,
int z,
int layer) |
org.cloudburstmc.api.level.chunk.Chunk |
getChunk(int chunkX,
int chunkZ) |
org.cloudburstmc.api.level.chunk.Chunk |
getChunk(long key) |
CompletableFuture<? extends org.cloudburstmc.api.level.chunk.Chunk> |
getChunkFuture(int chunkX,
int chunkZ) |
Set<? extends org.cloudburstmc.api.level.ChunkLoader> |
getChunkLoaders(int chunkX,
int chunkZ) |
Set<? extends org.cloudburstmc.api.player.Player> |
getChunkPlayers(int chunkX,
int chunkZ) |
Set<? extends org.cloudburstmc.api.level.chunk.Chunk> |
getChunks() |
org.cloudburstmc.api.block.Block |
getLoadedBlock(int x,
int y,
int z) |
org.cloudburstmc.api.level.chunk.Chunk |
getLoadedChunk(long key) |
boolean |
setBlockState(int x,
int y,
int z,
org.cloudburstmc.api.block.BlockState state) |
boolean |
setBlockState(int x,
int y,
int z,
int layer,
org.cloudburstmc.api.block.BlockState state) |
boolean |
setBlockState(int x,
int y,
int z,
int layer,
org.cloudburstmc.api.block.BlockState state,
boolean direct,
boolean update) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlock, getBlock, getBlockState, getBlockState, getBlockState, getChunk, getChunk, getChunk, getLoadedBlock, getLoadedBlock, getLoadedChunk, getLoadedChunk, getLoadedChunk, getSeed, setBlockState, setBlockState, setBlockState, setBlockState, setBlockState, setBlockState, setBlockState, setBlockStatepublic PopulationChunkManager(@NonNull
@NonNull org.cloudburstmc.api.level.chunk.Chunk chunk,
@NonNull
@NonNull org.cloudburstmc.api.level.chunk.LockableChunk[] allChunks,
long seed)
public org.cloudburstmc.api.block.BlockState getBlockState(int x,
int y,
int z)
getBlockState in interface org.cloudburstmc.api.level.ChunkManagerpublic org.cloudburstmc.api.block.BlockState getBlockState(int x,
int y,
int z,
int layer)
getBlockState in interface org.cloudburstmc.api.level.ChunkManagerpublic org.cloudburstmc.api.block.Block getBlock(int x,
int y,
int z)
getBlock in interface org.cloudburstmc.api.level.ChunkManagerpublic org.cloudburstmc.api.block.Block getLoadedBlock(int x,
int y,
int z)
getLoadedBlock in interface org.cloudburstmc.api.level.ChunkManagerpublic boolean setBlockState(int x,
int y,
int z,
org.cloudburstmc.api.block.BlockState state)
setBlockState in interface org.cloudburstmc.api.level.ChunkManagerpublic boolean setBlockState(int x,
int y,
int z,
int layer,
org.cloudburstmc.api.block.BlockState state)
setBlockState in interface org.cloudburstmc.api.level.ChunkManagerpublic boolean setBlockState(int x,
int y,
int z,
int layer,
org.cloudburstmc.api.block.BlockState state,
boolean direct,
boolean update)
setBlockState in interface org.cloudburstmc.api.level.ChunkManagerpublic org.cloudburstmc.api.level.chunk.Chunk getChunk(int chunkX,
int chunkZ)
getChunk in interface org.cloudburstmc.api.level.ChunkManager@Nonnull public org.cloudburstmc.api.level.chunk.Chunk getChunk(long key)
getChunk in interface org.cloudburstmc.api.level.ChunkManager@Nullable public org.cloudburstmc.api.level.chunk.Chunk getLoadedChunk(long key)
getLoadedChunk in interface org.cloudburstmc.api.level.ChunkManager@Nonnull public CompletableFuture<? extends org.cloudburstmc.api.level.chunk.Chunk> getChunkFuture(int chunkX, int chunkZ)
getChunkFuture in interface org.cloudburstmc.api.level.ChunkManager@Nonnull public Set<? extends org.cloudburstmc.api.level.chunk.Chunk> getChunks()
getChunks in interface org.cloudburstmc.api.level.ChunkManagerpublic Set<? extends org.cloudburstmc.api.player.Player> getChunkPlayers(int chunkX, int chunkZ)
getChunkPlayers in interface org.cloudburstmc.api.level.ChunkManagerpublic Set<? extends org.cloudburstmc.api.level.ChunkLoader> getChunkLoaders(int chunkX, int chunkZ)
getChunkLoaders in interface org.cloudburstmc.api.level.ChunkManagerCopyright © 2021. All rights reserved.