Class ClientboundLightUpdatePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundLightUpdatePacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
public class ClientboundLightUpdatePacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ClientboundLightUpdatePacketDataprivate final intprivate final int
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundLightUpdatePacket(FriendlyByteBuf p_178918_) ClientboundLightUpdatePacket(ChunkPos p_285255_, LevelLightEngine p_285409_, BitSet p_285387_, BitSet p_285074_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetX()intgetZ()voidhandle(ClientGamePacketListener p_132348_) voidwrite(FriendlyByteBuf p_132351_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
xprivate final int x
- 
zprivate final int z
- 
lightData
 
- 
- 
Constructor Details- 
ClientboundLightUpdatePacketpublic ClientboundLightUpdatePacket(ChunkPos p_285255_, LevelLightEngine p_285409_, @Nullable BitSet p_285387_, @Nullable BitSet p_285074_) 
- 
ClientboundLightUpdatePacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getXpublic int getX()
- 
getZpublic int getZ()
- 
getLightData
 
-