Class ChunkData
java.lang.Object
net.minecraft.network.packet.s2c.play.ChunkData
- Mappings:
Namespace Name official rx
intermediary net/minecraft/class_6603
named net/minecraft/network/packet/s2c/play/ChunkData
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ChunkData.BlockEntityData>
private final NbtCompound
private static final int
private final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntities
(int x, int z) private static int
getSectionsPacketSize
(WorldChunk chunk) private ByteBuf
private void
iterateBlockEntities
(ChunkData.BlockEntityVisitor consumer, int x, int z) void
write
(PacketByteBuf buf) static void
writeSections
(PacketByteBuf buf, WorldChunk chunk)
-
Field Details
-
MAX_SECTIONS_DATA_SIZE
private static final int MAX_SECTIONS_DATA_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lrx;a:I
intermediary field_34862
Lnet/minecraft/class_6603;field_34862:I
named MAX_SECTIONS_DATA_SIZE
Lnet/minecraft/network/packet/s2c/play/ChunkData;MAX_SECTIONS_DATA_SIZE:I
-
heightmap
- Mappings:
Namespace Name Mixin selector official b
Lrx;b:Lob;
intermediary field_34863
Lnet/minecraft/class_6603;field_34863:Lnet/minecraft/class_2487;
named heightmap
Lnet/minecraft/network/packet/s2c/play/ChunkData;heightmap:Lnet/minecraft/nbt/NbtCompound;
-
sectionsData
private final byte[] sectionsData- Mappings:
Namespace Name Mixin selector official c
Lrx;c:[B
intermediary field_34864
Lnet/minecraft/class_6603;field_34864:[B
named sectionsData
Lnet/minecraft/network/packet/s2c/play/ChunkData;sectionsData:[B
-
blockEntities
- Mappings:
Namespace Name Mixin selector official d
Lrx;d:Ljava/util/List;
intermediary field_34865
Lnet/minecraft/class_6603;field_34865:Ljava/util/List;
named blockEntities
Lnet/minecraft/network/packet/s2c/play/ChunkData;blockEntities:Ljava/util/List;
-
-
Constructor Details
-
ChunkData
- Mappings:
Namespace Name Mixin selector official <init>
Lrx;<init>(Lcqb;)V
intermediary <init>
Lnet/minecraft/class_6603;<init>(Lnet/minecraft/class_2818;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ChunkData;<init>(Lnet/minecraft/world/chunk/WorldChunk;)V
-
ChunkData
- Mappings:
Namespace Name Mixin selector official <init>
Lrx;<init>(Lph;II)V
intermediary <init>
Lnet/minecraft/class_6603;<init>(Lnet/minecraft/class_2540;II)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ChunkData;<init>(Lnet/minecraft/network/PacketByteBuf;II)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Lrx;a(Lph;)V
intermediary method_38590
Lnet/minecraft/class_6603;method_38590(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/s2c/play/ChunkData;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSectionsPacketSize
- Mappings:
Namespace Name Mixin selector official a
Lrx;a(Lcqb;)I
intermediary method_38589
Lnet/minecraft/class_6603;method_38589(Lnet/minecraft/class_2818;)I
named getSectionsPacketSize
Lnet/minecraft/network/packet/s2c/play/ChunkData;getSectionsPacketSize(Lnet/minecraft/world/chunk/WorldChunk;)I
-
getWritableSectionsDataBuf
- Mappings:
Namespace Name Mixin selector official c
Lrx;c()Lio/netty/buffer/ByteBuf;
intermediary method_38595
Lnet/minecraft/class_6603;method_38595()Lio/netty/buffer/ByteBuf;
named getWritableSectionsDataBuf
Lnet/minecraft/network/packet/s2c/play/ChunkData;getWritableSectionsDataBuf()Lio/netty/buffer/ByteBuf;
-
writeSections
- Mappings:
Namespace Name Mixin selector official a
Lrx;a(Lph;Lcqb;)V
intermediary method_38591
Lnet/minecraft/class_6603;method_38591(Lnet/minecraft/class_2540;Lnet/minecraft/class_2818;)V
named writeSections
Lnet/minecraft/network/packet/s2c/play/ChunkData;writeSections(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/chunk/WorldChunk;)V
-
getBlockEntities
- Mappings:
Namespace Name Mixin selector official a
Lrx;a(II)Ljava/util/function/Consumer;
intermediary method_38587
Lnet/minecraft/class_6603;method_38587(II)Ljava/util/function/Consumer;
named getBlockEntities
Lnet/minecraft/network/packet/s2c/play/ChunkData;getBlockEntities(II)Ljava/util/function/Consumer;
-
iterateBlockEntities
- Mappings:
Namespace Name Mixin selector official a
Lrx;a(Lrx$b;II)V
intermediary method_38593
Lnet/minecraft/class_6603;method_38593(Lnet/minecraft/class_6603$class_6605;II)V
named iterateBlockEntities
Lnet/minecraft/network/packet/s2c/play/ChunkData;iterateBlockEntities(Lnet/minecraft/network/packet/s2c/play/ChunkData$BlockEntityVisitor;II)V
-
getSectionsDataBuf
- Mappings:
Namespace Name Mixin selector official a
Lrx;a()Lph;
intermediary method_38586
Lnet/minecraft/class_6603;method_38586()Lnet/minecraft/class_2540;
named getSectionsDataBuf
Lnet/minecraft/network/packet/s2c/play/ChunkData;getSectionsDataBuf()Lnet/minecraft/network/PacketByteBuf;
-
getHeightmap
- Mappings:
Namespace Name Mixin selector official b
Lrx;b()Lob;
intermediary method_38594
Lnet/minecraft/class_6603;method_38594()Lnet/minecraft/class_2487;
named getHeightmap
Lnet/minecraft/network/packet/s2c/play/ChunkData;getHeightmap()Lnet/minecraft/nbt/NbtCompound;
-