Class ChunkDataS2CPacket

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

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

    • chunkX

      private final int chunkX
      Mappings:
      Namespace Name Mixin selector
      official a Lwd;a:I
      intermediary field_12236 Lnet/minecraft/class_2672;field_12236:I
      named chunkX Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkX:I
    • chunkZ

      private final int chunkZ
      Mappings:
      Namespace Name Mixin selector
      official b Lwd;b:I
      intermediary field_12235 Lnet/minecraft/class_2672;field_12235:I
      named chunkZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkZ:I
    • chunkData

      private final ChunkData chunkData
      Mappings:
      Namespace Name Mixin selector
      official c Lwd;c:Lwc;
      intermediary field_34870 Lnet/minecraft/class_2672;field_34870:Lnet/minecraft/class_6603;
      named chunkData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkData:Lnet/minecraft/network/packet/s2c/play/ChunkData;
    • lightData

      private final LightData lightData
      Mappings:
      Namespace Name Mixin selector
      official d Lwd;d:Lwh;
      intermediary field_34871 Lnet/minecraft/class_2672;field_34871:Lnet/minecraft/class_6606;
      named lightData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;lightData:Lnet/minecraft/network/packet/s2c/play/LightData;
  • Constructor Details

    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(WorldChunk chunk, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwd;<init>(Ldea;Ldwl;Ljava/util/BitSet;Ljava/util/BitSet;)V
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2818;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<init>(Lnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/world/chunk/light/LightingProvider;Ljava/util/BitSet;Ljava/util/BitSet;)V
    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwd;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<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 Luo;a(Lsf;)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 Lwd;a(Lur;)V
      intermediary method_11528 Lnet/minecraft/class_2672;method_11528(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official a Lwd;a()I
      intermediary method_11523 Lnet/minecraft/class_2672;method_11523()I
      named getX Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getX()I
    • getZ

      public int getZ()
      Mappings:
      Namespace Name Mixin selector
      official c Lwd;c()I
      intermediary method_11524 Lnet/minecraft/class_2672;method_11524()I
      named getZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getZ()I
    • getChunkData

      public ChunkData getChunkData()
      Mappings:
      Namespace Name Mixin selector
      official d Lwd;d()Lwc;
      intermediary method_38598 Lnet/minecraft/class_2672;method_38598()Lnet/minecraft/class_6603;
      named getChunkData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getChunkData()Lnet/minecraft/network/packet/s2c/play/ChunkData;
    • getLightData

      public LightData getLightData()
      Mappings:
      Namespace Name Mixin selector
      official e Lwd;e()Lwh;
      intermediary method_38599 Lnet/minecraft/class_2672;method_38599()Lnet/minecraft/class_6606;
      named getLightData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getLightData()Lnet/minecraft/network/packet/s2c/play/LightData;