Class Chunk_v1_9
java.lang.Object
com.github.retrooper.packetevents.protocol.world.chunk.impl.v1_16.Chunk_v1_9
- All Implemented Interfaces:
BaseChunk
-
Constructor Summary
ConstructorDescriptionChunk_v1_9
(int blockCount, DataPalette dataPalette) Chunk_v1_9
(NetStreamInput in, boolean hasBlockLight, boolean hasSkyLight) -
Method Summary
Modifier and TypeMethodDescriptionint
getBlockId
(int x, int y, int z) boolean
isEmpty()
void
set
(int x, int y, int z, int state) void
setBlockLight
(NibbleArray3d blockLight) void
setSkyLight
(NibbleArray3d skyLight) static void
write
(NetStreamOutput out, Chunk_v1_9 chunk)
-
Constructor Details
-
Chunk_v1_9
-
Chunk_v1_9
-
-
Method Details
-
write
-
getBlockId
public int getBlockId(int x, int y, int z) - Specified by:
getBlockId
in interfaceBaseChunk
-
set
public void set(int x, int y, int z, int state) -
isEmpty
public boolean isEmpty() -
getSkyLight
-
setSkyLight
-
getBlockLight
-
setBlockLight
-