Class LightUpdateS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.LightUpdateS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class LightUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/LightUpdateS2CPacket
intermediary net/minecraft/class_2676
official adi
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,LightUpdateS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47936 Lnet/minecraft/class_2676;field_47936:Lnet/minecraft/class_9139;
      official a Ladi;a:Lyw;
    • chunkX

      private final int chunkX
      Mappings:
      Namespace Name Mixin selector
      named chunkX Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;chunkX:I
      intermediary field_12265 Lnet/minecraft/class_2676;field_12265:I
      official b Ladi;b:I
    • chunkZ

      private final int chunkZ
      Mappings:
      Namespace Name Mixin selector
      named chunkZ Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;chunkZ:I
      intermediary field_12264 Lnet/minecraft/class_2676;field_12264:I
      official c Ladi;c:I
    • data

      private final LightData data
      Mappings:
      Namespace Name Mixin selector
      named data Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;data:Lnet/minecraft/network/packet/s2c/play/LightData;
      intermediary field_34872 Lnet/minecraft/class_2676;field_34872:Lnet/minecraft/class_6606;
      official d Ladi;d:Ladj;
  • Constructor Details

    • LightUpdateS2CPacket

      public LightUpdateS2CPacket(ChunkPos chunkPos, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/light/LightingProvider;Ljava/util/BitSet;Ljava/util/BitSet;)V
      intermediary <init> Lnet/minecraft/class_2676;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;)V
      official <init> Ladi;<init>(Ldcb;Leon;Ljava/util/BitSet;Ljava/util/BitSet;)V
    • LightUpdateS2CPacket

      private LightUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2676;<init>(Lnet/minecraft/class_2540;)V
      official <init> Ladi;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55886 Lnet/minecraft/class_2676;method_55886(Lnet/minecraft/class_2540;)V
      official a Ladi;a(Lvv;)V
    • getPacketId

      public PacketType<LightUpdateS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzf;a()Lzh;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11560 Lnet/minecraft/class_2676;method_11560(Lnet/minecraft/class_2602;)V
      official a Ladi;a(Labt;)V
    • getChunkX

      public int getChunkX()
      Mappings:
      Namespace Name Mixin selector
      named getChunkX Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;getChunkX()I
      intermediary method_11558 Lnet/minecraft/class_2676;method_11558()I
      official b Ladi;b()I
    • getChunkZ

      public int getChunkZ()
      Mappings:
      Namespace Name Mixin selector
      named getChunkZ Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;getChunkZ()I
      intermediary method_11554 Lnet/minecraft/class_2676;method_11554()I
      official e Ladi;e()I
    • getData

      public LightData getData()
      Mappings:
      Namespace Name Mixin selector
      named getData Lnet/minecraft/network/packet/s2c/play/LightUpdateS2CPacket;getData()Lnet/minecraft/network/packet/s2c/play/LightData;
      intermediary method_38600 Lnet/minecraft/class_2676;method_38600()Lnet/minecraft/class_6606;
      official f Ladi;f()Ladj;