Class LightData
java.lang.Object
com.github.retrooper.packetevents.protocol.world.chunk.LightData
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
byte[][]
int
byte[][]
int
boolean
static LightData
read
(PacketWrapper<?> packet) void
setBlockLightArray
(byte[][] blockLightArray) void
setBlockLightCount
(int blockLightCount) void
setBlockLightMask
(BitSet blockLightMask) void
setEmptyBlockLightMask
(BitSet emptyBlockLightMask) void
setEmptySkyLightMask
(BitSet emptySkyLightMask) void
setSkyLightArray
(byte[][] skyLightArray) void
setSkyLightCount
(int skyLightCount) void
setSkyLightMask
(BitSet skyLightMask) void
setTrustEdges
(boolean trustEdges) static void
write
(PacketWrapper<?> packet, LightData lightData)
-
Constructor Details
-
LightData
public LightData() -
LightData
-
-
Method Details
-
clone
-
isTrustEdges
public boolean isTrustEdges() -
setTrustEdges
public void setTrustEdges(boolean trustEdges) -
getBlockLightMask
-
setBlockLightMask
-
getSkyLightMask
-
setSkyLightMask
-
getEmptyBlockLightMask
-
setEmptyBlockLightMask
-
getEmptySkyLightMask
-
setEmptySkyLightMask
-
getSkyLightCount
public int getSkyLightCount() -
setSkyLightCount
public void setSkyLightCount(int skyLightCount) -
getBlockLightCount
public int getBlockLightCount() -
setBlockLightCount
public void setBlockLightCount(int blockLightCount) -
getSkyLightArray
public byte[][] getSkyLightArray() -
setSkyLightArray
public void setSkyLightArray(byte[][] skyLightArray) -
getBlockLightArray
public byte[][] getBlockLightArray() -
setBlockLightArray
public void setBlockLightArray(byte[][] blockLightArray) -
read
-
write
-