public class SUpdateLightPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private java.util.List<byte[]> |
blockLightData |
private int |
blockLightResetMask |
private int |
blockLightUpdateMask |
private int |
chunkX |
private int |
chunkZ |
private java.util.List<byte[]> |
skyLightData |
private int |
skyLightResetMask |
private int |
skyLightUpdateMask |
Constructor and Description |
---|
SUpdateLightPacket() |
SUpdateLightPacket(ChunkPos pos,
WorldLightManager lightManager) |
SUpdateLightPacket(ChunkPos pos,
WorldLightManager lightManager,
int skyLightUpdateMaskIn,
int blockLightUpdateMaskIn) |
Modifier and Type | Method and Description |
---|---|
java.util.List<byte[]> |
getBlockLightData() |
int |
getBlockLightResetMask() |
int |
getBlockLightUpdateMask() |
int |
getChunkX() |
int |
getChunkZ() |
java.util.List<byte[]> |
getSkyLightData() |
int |
getSkyLightResetMask() |
int |
getSkyLightUpdateMask() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int chunkX
private int chunkZ
private int skyLightUpdateMask
private int blockLightUpdateMask
private int skyLightResetMask
private int blockLightResetMask
private java.util.List<byte[]> skyLightData
private java.util.List<byte[]> blockLightData
public SUpdateLightPacket()
public SUpdateLightPacket(ChunkPos pos, WorldLightManager lightManager)
public SUpdateLightPacket(ChunkPos pos, WorldLightManager lightManager, int skyLightUpdateMaskIn, int blockLightUpdateMaskIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public int getChunkX()
public int getChunkZ()
public int getSkyLightUpdateMask()
public int getSkyLightResetMask()
public java.util.List<byte[]> getSkyLightData()
public int getBlockLightUpdateMask()
public int getBlockLightResetMask()
public java.util.List<byte[]> getBlockLightData()