Class ChunkData

java.lang.Object
net.minecraft.network.packet.s2c.play.ChunkData

public class ChunkData extends Object
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/ChunkData
intermediary net/minecraft/class_6603
official ade
  • Field Details

    • MAX_SECTIONS_DATA_SIZE

      private static final int MAX_SECTIONS_DATA_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_SECTIONS_DATA_SIZE Lnet/minecraft/network/packet/s2c/play/ChunkData;MAX_SECTIONS_DATA_SIZE:I
      intermediary field_34862 Lnet/minecraft/class_6603;field_34862:I
      official a Lade;a:I
    • heightmap

      private final NbtCompound heightmap
      Mappings:
      Namespace Name Mixin selector
      named heightmap Lnet/minecraft/network/packet/s2c/play/ChunkData;heightmap:Lnet/minecraft/nbt/NbtCompound;
      intermediary field_34863 Lnet/minecraft/class_6603;field_34863:Lnet/minecraft/class_2487;
      official b Lade;b:Lua;
    • sectionsData

      private final byte[] sectionsData
      Mappings:
      Namespace Name Mixin selector
      named sectionsData Lnet/minecraft/network/packet/s2c/play/ChunkData;sectionsData:[B
      intermediary field_34864 Lnet/minecraft/class_6603;field_34864:[B
      official c Lade;c:[B
    • blockEntities

      private final List<ChunkData.BlockEntityData> blockEntities
      Mappings:
      Namespace Name Mixin selector
      named blockEntities Lnet/minecraft/network/packet/s2c/play/ChunkData;blockEntities:Ljava/util/List;
      intermediary field_34865 Lnet/minecraft/class_6603;field_34865:Ljava/util/List;
      official d Lade;d:Ljava/util/List;
  • Constructor Details

    • ChunkData

      public ChunkData(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkData;<init>(Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary <init> Lnet/minecraft/class_6603;<init>(Lnet/minecraft/class_2818;)V
      official <init> Lade;<init>(Ldvg;)V
    • ChunkData

      public ChunkData(RegistryByteBuf buf, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkData;<init>(Lnet/minecraft/network/RegistryByteBuf;II)V
      intermediary <init> Lnet/minecraft/class_6603;<init>(Lnet/minecraft/class_9129;II)V
      official <init> Lade;<init>(Lwj;II)V
  • Method Details

    • write

      public void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ChunkData;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_38590 Lnet/minecraft/class_6603;method_38590(Lnet/minecraft/class_9129;)V
      official a Lade;a(Lwj;)V
    • getSectionsPacketSize

      private static int getSectionsPacketSize(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named getSectionsPacketSize Lnet/minecraft/network/packet/s2c/play/ChunkData;getSectionsPacketSize(Lnet/minecraft/world/chunk/WorldChunk;)I
      intermediary method_38589 Lnet/minecraft/class_6603;method_38589(Lnet/minecraft/class_2818;)I
      official a Lade;a(Ldvg;)I
    • getWritableSectionsDataBuf

      private ByteBuf getWritableSectionsDataBuf()
      Mappings:
      Namespace Name Mixin selector
      named getWritableSectionsDataBuf Lnet/minecraft/network/packet/s2c/play/ChunkData;getWritableSectionsDataBuf()Lio/netty/buffer/ByteBuf;
      intermediary method_38595 Lnet/minecraft/class_6603;method_38595()Lio/netty/buffer/ByteBuf;
      official c Lade;c()Lio/netty/buffer/ByteBuf;
    • writeSections

      public static void writeSections(PacketByteBuf buf, WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named writeSections Lnet/minecraft/network/packet/s2c/play/ChunkData;writeSections(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_38591 Lnet/minecraft/class_6603;method_38591(Lnet/minecraft/class_2540;Lnet/minecraft/class_2818;)V
      official a Lade;a(Lvv;Ldvg;)V
    • getBlockEntities

      public Consumer<ChunkData.BlockEntityVisitor> getBlockEntities(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named getBlockEntities Lnet/minecraft/network/packet/s2c/play/ChunkData;getBlockEntities(II)Ljava/util/function/Consumer;
      intermediary method_38587 Lnet/minecraft/class_6603;method_38587(II)Ljava/util/function/Consumer;
      official a Lade;a(II)Ljava/util/function/Consumer;
    • iterateBlockEntities

      private void iterateBlockEntities(ChunkData.BlockEntityVisitor consumer, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named iterateBlockEntities Lnet/minecraft/network/packet/s2c/play/ChunkData;iterateBlockEntities(Lnet/minecraft/network/packet/s2c/play/ChunkData$BlockEntityVisitor;II)V
      intermediary method_38593 Lnet/minecraft/class_6603;method_38593(Lnet/minecraft/class_6603$class_6605;II)V
      official a Lade;a(Lade$b;II)V
    • getSectionsDataBuf

      public PacketByteBuf getSectionsDataBuf()
      Mappings:
      Namespace Name Mixin selector
      named getSectionsDataBuf Lnet/minecraft/network/packet/s2c/play/ChunkData;getSectionsDataBuf()Lnet/minecraft/network/PacketByteBuf;
      intermediary method_38586 Lnet/minecraft/class_6603;method_38586()Lnet/minecraft/class_2540;
      official a Lade;a()Lvv;
    • getHeightmap

      public NbtCompound getHeightmap()
      Mappings:
      Namespace Name Mixin selector
      named getHeightmap Lnet/minecraft/network/packet/s2c/play/ChunkData;getHeightmap()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_38594 Lnet/minecraft/class_6603;method_38594()Lnet/minecraft/class_2487;
      official b Lade;b()Lua;