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
named net/minecraft/network/packet/s2c/play/ChunkDataS2CPacket
intermediary net/minecraft/class_2672
official adf
  • Field Details

    • CODEC

      public static final PacketCodec<RegistryByteBuf,ChunkDataS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47933 Lnet/minecraft/class_2672;field_47933:Lnet/minecraft/class_9139;
      official a Ladf;a:Lyw;
    • chunkX

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

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

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

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

    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(WorldChunk chunk, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2818;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;)V
      official <init> Ladf;<init>(Ldvg;Leon;Ljava/util/BitSet;Ljava/util/BitSet;)V
    • ChunkDataS2CPacket

      private ChunkDataS2CPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_9129;)V
      official <init> Ladf;<init>(Lwj;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_55883 Lnet/minecraft/class_2672;method_55883(Lnet/minecraft/class_9129;)V
      official a Ladf;a(Lwj;)V
    • getPacketId

      public PacketType<ChunkDataS2CPacket> 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/ChunkDataS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11528 Lnet/minecraft/class_2672;method_11528(Lnet/minecraft/class_2602;)V
      official a Ladf;a(Labt;)V
    • getChunkX

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

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

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

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