Class SUpdateLightPacket
java.lang.Object
net.minecraft.network.play.server.SUpdateLightPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSUpdateLightPacket
(ChunkPos p_i50774_1_, WorldLightManager p_i50774_2_, boolean p_i50774_3_) SUpdateLightPacket
(ChunkPos p_i50775_1_, WorldLightManager p_i50775_2_, int p_i50775_3_, int p_i50775_4_, boolean p_i50775_5_) -
Method Summary
Modifier and TypeMethodDescriptionList<byte[]>
int
int
int
List<byte[]>
int
boolean
int
getX()
int
getZ()
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
x
private int x -
z
private int z -
skyYMask
private int skyYMask -
blockYMask
private int blockYMask -
emptySkyYMask
private int emptySkyYMask -
emptyBlockYMask
private int emptyBlockYMask -
skyUpdates
-
blockUpdates
-
trustEdges
private boolean trustEdges
-
-
Constructor Details
-
SUpdateLightPacket
public SUpdateLightPacket() -
SUpdateLightPacket
-
SUpdateLightPacket
public SUpdateLightPacket(ChunkPos p_i50775_1_, WorldLightManager p_i50775_2_, int p_i50775_3_, int p_i50775_4_, boolean p_i50775_5_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getX
public int getX() -
getZ
public int getZ() -
getSkyYMask
public int getSkyYMask() -
getEmptySkyYMask
public int getEmptySkyYMask() -
getSkyUpdates
-
getBlockYMask
public int getBlockYMask() -
getEmptyBlockYMask
public int getEmptyBlockYMask() -
getBlockUpdates
-
getTrustEdges
public boolean getTrustEdges()
-