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

    • chunkX

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

      private BitSet verticalStripBitmask
      Mappings:
      Namespace Name Mixin selector
      official c Lql;c: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 CompoundTag heightmaps
      Mappings:
      Namespace Name Mixin selector
      official d Lql;d:Lmq;
      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/CompoundTag;
    • biomeArray

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

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

      private List<CompoundTag> blockEntities
      Mappings:
      Namespace Name Mixin selector
      official g Lql;g: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()
    • ChunkDataS2CPacket

      public ChunkDataS2CPacket​(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lql;<init>(Lcjw;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lql;a(Lpd;)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

      @Environment(CLIENT) public PacketByteBuf getReadBuffer()
      Mappings:
      Namespace Name Mixin selector
      official b Lql;b()Lnw;
      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 Lql;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 packetByteBuf, WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lql;a(Lnw;Lcjw;)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 Lql;a(Lcjw;)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

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

      @Environment(CLIENT) public int getZ()
      Mappings:
      Namespace Name Mixin selector
      official d Lql;d()I
      intermediary method_11524 Lnet/minecraft/class_2672;method_11524()I
      named getZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getZ()I
    • getVerticalStripBitmask

      @Environment(CLIENT) public BitSet getVerticalStripBitmask()
      Mappings:
      Namespace Name Mixin selector
      official e Lql;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

      @Environment(CLIENT) public CompoundTag getHeightmaps()
      Mappings:
      Namespace Name Mixin selector
      official f Lql;f()Lmq;
      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/CompoundTag;
    • getBlockEntityTagList

      @Environment(CLIENT) public List<CompoundTag> getBlockEntityTagList()
      Mappings:
      Namespace Name Mixin selector
      official g Lql;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

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