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 adu
  • 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 Ladu;a:Lzn;
    • 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 Ladu;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 Ladu;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 Ladu;d:Ladt;
    • 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 Ladu;e:Lady;
  • 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> Ladu;<init>(Lduk;Lenm;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> Ladu;<init>(Lxa;)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 Ladu;a(Lxa;)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 Lzw;a()Lzy;
    • 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 Ladu;a(Laci;)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 Ladu;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 Ladu;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 Ladu;f()Ladt;
    • 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 Ladu;g()Lady;