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 ss
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 Lss;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 Lss;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 Lss;c:Lst;
      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, boolean nonEdge)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lss;<init>(Lcac;Ldio;Ljava/util/BitSet;Ljava/util/BitSet;Z)V
      intermediary <init> Lnet/minecraft/class_2676;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;Z)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;Z)V
    • LightUpdateS2CPacket

      public LightUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lss;<init>(Lpy;)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 Lrc;a(Lpy;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/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 Lss;a(Lrf;)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 b Lss;b()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 c Lss;c()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 d Lss;d()Lst;
      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;