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 yg
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 Lyg;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 Lyg;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 Lyg;c:Lyf;
      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 Lyg;d:Lyk;
      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> Lyg;<init>(Ldhq;Leab;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> Lyg;<init>(Lso;)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 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 Lyg;a(Lww;)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
    • getChunkX

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

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

      public ChunkData getChunkData()
      Mappings:
      Namespace Name Mixin selector
      official e Lyg;e()Lyf;
      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 f Lyg;f()Lyk;
      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;