public class ChunkData extends Object
Modifier and Type | Field and Description |
---|---|
HashMap<BlockPosition,Material> |
blockEntites
This field seems to don't be present for 1.8
|
HashMap<BlockPosition,Material> |
blocks |
int |
chunkX |
int |
chunkZ |
Object |
heightmaps
Appear with chunk remap (since 1.16)
|
Constructor and Description |
---|
ChunkData(PacketSerializer serializer,
Version version) |
Modifier and Type | Method and Description |
---|---|
void |
deserializer1_8(boolean skyLight,
byte[] data,
int bitmask,
boolean fullChunk) |
void |
read() |
void |
read1_8() |
public int chunkX
public int chunkZ
public Object heightmaps
public HashMap<BlockPosition,Material> blocks
public HashMap<BlockPosition,Material> blockEntites
public ChunkData(PacketSerializer serializer, Version version)