Class SUpdateLightPacket
- java.lang.Object
-
- net.minecraft.network.play.server.SUpdateLightPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SUpdateLightPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<byte[]>
blockUpdates
private int
blockYMask
private int
emptyBlockYMask
private int
emptySkyYMask
private java.util.List<byte[]>
skyUpdates
private int
skyYMask
private boolean
trustEdges
private int
x
private int
z
-
Constructor Summary
Constructors Constructor Description SUpdateLightPacket()
SUpdateLightPacket(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<byte[]>
getBlockUpdates()
int
getBlockYMask()
int
getEmptyBlockYMask()
int
getEmptySkyYMask()
java.util.List<byte[]>
getSkyUpdates()
int
getSkyYMask()
boolean
getTrustEdges()
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 Detail
-
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
private java.util.List<byte[]> skyUpdates
-
blockUpdates
private java.util.List<byte[]> blockUpdates
-
trustEdges
private boolean trustEdges
-
-
Constructor Detail
-
SUpdateLightPacket
public SUpdateLightPacket()
-
SUpdateLightPacket
public SUpdateLightPacket(ChunkPos p_i50774_1_, WorldLightManager p_i50774_2_, boolean p_i50774_3_)
-
SUpdateLightPacket
public SUpdateLightPacket(ChunkPos p_i50775_1_, WorldLightManager p_i50775_2_, int p_i50775_3_, int p_i50775_4_, boolean p_i50775_5_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getX
public int getX()
-
getZ
public int getZ()
-
getSkyYMask
public int getSkyYMask()
-
getEmptySkyYMask
public int getEmptySkyYMask()
-
getSkyUpdates
public java.util.List<byte[]> getSkyUpdates()
-
getBlockYMask
public int getBlockYMask()
-
getEmptyBlockYMask
public int getEmptyBlockYMask()
-
getBlockUpdates
public java.util.List<byte[]> getBlockUpdates()
-
getTrustEdges
public boolean getTrustEdges()
-
-