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
ConstructorsConstructorDescriptionChunk_v1_9(int blockCount, DataPalette dataPalette) Chunk_v1_9(NetStreamInput in, boolean hasBlockLight, boolean hasSkyLight) -
Method Summary
Modifier and TypeMethodDescriptionintgetBlockId(int x, int y, int z) booleanisEmpty()voidset(int x, int y, int z, int state) voidsetBlockLight(NibbleArray3d blockLight) voidsetSkyLight(NibbleArray3d skyLight) static voidwrite(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:
getBlockIdin interfaceBaseChunk
-
set
public void set(int x, int y, int z, int state) -
isEmpty
public boolean isEmpty() -
getSkyLight
-
setSkyLight
-
getBlockLight
-
setBlockLight
-