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

    • MAX_DATA_LENGTH

      public static final int MAX_DATA_LENGTH
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lqw;a:I
      intermediary field_33333 Lnet/minecraft/class_2672;field_33333:I
      named MAX_DATA_LENGTH Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;MAX_DATA_LENGTH:I
    • chunkX

      private final int chunkX
      Mappings:
      Namespace Name Mixin selector
      official b Lqw;b: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 c Lqw;c:I
      intermediary field_12235 Lnet/minecraft/class_2672;field_12235:I
      named chunkZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkZ:I
    • verticalStripBitmask

      private final BitSet verticalStripBitmask
      Mappings:
      Namespace Name Mixin selector
      official d Lqw;d:Ljava/util/BitSet;
      intermediary field_12234 Lnet/minecraft/class_2672;field_12234:Ljava/util/BitSet;
      named verticalStripBitmask Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;verticalStripBitmask:Ljava/util/BitSet;
    • heightmaps

      private final NbtCompound heightmaps
      Mappings:
      Namespace Name Mixin selector
      official e Lqw;e:Lna;
      intermediary field_16416 Lnet/minecraft/class_2672;field_16416:Lnet/minecraft/class_2487;
      named heightmaps Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;heightmaps:Lnet/minecraft/nbt/NbtCompound;
    • biomeArray

      private final int[] biomeArray
      Mappings:
      Namespace Name Mixin selector
      official f Lqw;f:[I
      intermediary field_20664 Lnet/minecraft/class_2672;field_20664:[I
      named biomeArray Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;biomeArray:[I
    • data

      private final byte[] data
      Mappings:
      Namespace Name Mixin selector
      official g Lqw;g:[B
      intermediary field_12237 Lnet/minecraft/class_2672;field_12237:[B
      named data Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;data:[B
    • blockEntities

      private final List<NbtCompound> blockEntities
      Mappings:
      Namespace Name Mixin selector
      official h Lqw;h:Ljava/util/List;
      intermediary field_12238 Lnet/minecraft/class_2672;field_12238:Ljava/util/List;
      named blockEntities Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;blockEntities:Ljava/util/List;
  • Constructor Details

    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqw;<init>(Lcmw;)V
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2818;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<init>(Lnet/minecraft/world/chunk/WorldChunk;)V
    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqw;<init>(Log;)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 Lpk;a(Log;)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 Lqw;a(Lpn;)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
    • getReadBuffer

      public PacketByteBuf getReadBuffer()
      Mappings:
      Namespace Name Mixin selector
      official b Lqw;b()Log;
      intermediary method_11521 Lnet/minecraft/class_2672;method_11521()Lnet/minecraft/class_2540;
      named getReadBuffer Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getReadBuffer()Lnet/minecraft/network/PacketByteBuf;
    • getWriteBuffer

      private ByteBuf getWriteBuffer()
      Mappings:
      Namespace Name Mixin selector
      official i Lqw;i()Lio/netty/buffer/ByteBuf;
      intermediary method_11527 Lnet/minecraft/class_2672;method_11527()Lio/netty/buffer/ByteBuf;
      named getWriteBuffer Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getWriteBuffer()Lio/netty/buffer/ByteBuf;
    • writeData

      public BitSet writeData(PacketByteBuf buf, WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lqw;a(Log;Lcmw;)Ljava/util/BitSet;
      intermediary method_11529 Lnet/minecraft/class_2672;method_11529(Lnet/minecraft/class_2540;Lnet/minecraft/class_2818;)Ljava/util/BitSet;
      named writeData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;writeData(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/chunk/WorldChunk;)Ljava/util/BitSet;
    • getDataSize

      protected int getDataSize(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lqw;a(Lcmw;)I
      intermediary method_11522 Lnet/minecraft/class_2672;method_11522(Lnet/minecraft/class_2818;)I
      named getDataSize Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getDataSize(Lnet/minecraft/world/chunk/WorldChunk;)I
    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official c Lqw;c()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 d Lqw;d()I
      intermediary method_11524 Lnet/minecraft/class_2672;method_11524()I
      named getZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getZ()I
    • getVerticalStripBitmask

      public BitSet getVerticalStripBitmask()
      Mappings:
      Namespace Name Mixin selector
      official e Lqw;e()Ljava/util/BitSet;
      intermediary method_11526 Lnet/minecraft/class_2672;method_11526()Ljava/util/BitSet;
      named getVerticalStripBitmask Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getVerticalStripBitmask()Ljava/util/BitSet;
    • getHeightmaps

      public NbtCompound getHeightmaps()
      Mappings:
      Namespace Name Mixin selector
      official f Lqw;f()Lna;
      intermediary method_16123 Lnet/minecraft/class_2672;method_16123()Lnet/minecraft/class_2487;
      named getHeightmaps Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getHeightmaps()Lnet/minecraft/nbt/NbtCompound;
    • getBlockEntityTagList

      public List<NbtCompound> getBlockEntityTagList()
      Mappings:
      Namespace Name Mixin selector
      official g Lqw;g()Ljava/util/List;
      intermediary method_11525 Lnet/minecraft/class_2672;method_11525()Ljava/util/List;
      named getBlockEntityTagList Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getBlockEntityTagList()Ljava/util/List;
    • getBiomeArray

      public int[] getBiomeArray()
      Mappings:
      Namespace Name Mixin selector
      official h Lqw;h()[I
      intermediary method_22422 Lnet/minecraft/class_2672;method_22422()[I
      named getBiomeArray Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getBiomeArray()[I