Class Chunk_v1_7
java.lang.Object
com.github.retrooper.packetevents.protocol.world.chunk.impl.v1_7.Chunk_v1_7
- All Implemented Interfaces:
BaseChunk
-
Constructor Summary
ConstructorsConstructorDescriptionChunk_v1_7
(boolean skylight, boolean extended) Chunk_v1_7
(ByteArray3d blocks, NibbleArray3d metadata, NibbleArray3d blocklight, NibbleArray3d skylight, NibbleArray3d extendedBlocks) -
Method Summary
Modifier and TypeMethodDescriptionint
getBlockId
(int x, int y, int z) boolean
isEmpty()
void
set
(int x, int y, int z, int combinedID)
-
Constructor Details
-
Chunk_v1_7
public Chunk_v1_7(boolean skylight, boolean extended) -
Chunk_v1_7
public Chunk_v1_7(ByteArray3d blocks, NibbleArray3d metadata, NibbleArray3d blocklight, NibbleArray3d skylight, NibbleArray3d extendedBlocks)
-
-
Method Details
-
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 combinedID) -
isEmpty
public boolean isEmpty() -
getBlocks
-
getMetadata
-
getBlockLight
-
getSkyLight
-
getExtendedBlocks
-