public interface Chunk
| Modifier and Type | Method and Description |
|---|---|
Block |
getBlock(int x,
int y,
int z) |
byte |
getBlockLight(int x,
int y,
int z) |
int |
getHighestLayer(int x,
int z) |
Level |
getLevel() |
byte |
getSkyLight(int x,
int y,
int z) |
int |
getX() |
int |
getZ() |
void |
setBiome(int x,
int z,
Biome biome) |
Block |
setBlock(int x,
int y,
int z,
BlockState state) |
Block |
setBlock(int x,
int y,
int z,
BlockState state,
boolean shouldRecalculateLight) |
ChunkSnapshot |
toSnapshot() |
int getX()
int getZ()
Level getLevel()
void setBiome(int x,
int z,
Biome biome)
Block getBlock(int x, int y, int z)
Block setBlock(int x, int y, int z, BlockState state)
Block setBlock(int x, int y, int z, BlockState state, boolean shouldRecalculateLight)
int getHighestLayer(int x,
int z)
byte getSkyLight(int x,
int y,
int z)
byte getBlockLight(int x,
int y,
int z)
ChunkSnapshot toSnapshot()
Copyright © 2017–2018 NukkitX. All rights reserved.