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
official yj
intermediary net/minecraft/class_2676
named net/minecraft/network/packet/s2c/play/LightUpdateS2CPacket
  • Field Details

    • chunkX

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

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

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

    • LightUpdateS2CPacket

      public LightUpdateS2CPacket(ChunkPos chunkPos, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyj;<init>(Lcpc;Leab;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
      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
    • LightUpdateS2CPacket

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lso;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

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

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

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

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