net.minecraft.network.protocol.game

public class ClientboundLevelChunkPacketData

adf
net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData
net.minecraft.class_6603
net.minecraft.network.packet.s2c.play.ChunkData

Field summary

Modifier and TypeField
private static final StreamCodec<io.netty.buffer.ByteBuf, Map<Heightmap$Types, long[]>>
a
HEIGHTMAPS_STREAM_CODEC
field_56601
HEIGHTMAPS_PACKET_CODEC
private static final int
b
TWO_MEGABYTES
field_34862
MAX_SECTIONS_DATA_SIZE
private final Map<Heightmap$Types, long[]>
c
heightmaps
field_34863
heightmap
private final byte[]
d
buffer
field_34864
sectionsData
private final List<ClientboundLevelChunkPacketData$BlockEntityInfo>
e
blockEntitiesData
field_34865
blockEntities

Constructor summary

ModifierConstructor
public (LevelChunk chunk)
public (RegistryFriendlyByteBuf buf, int x, int z)

Method summary

Modifier and TypeMethod
public void
a(wj arg0)
write(RegistryFriendlyByteBuf arg0)
method_38590(class_9129 arg0)
write(RegistryByteBuf buf)
private static int
a(eda arg0)
calculateChunkSize(LevelChunk arg0)
method_38589(class_2818 arg0)
getSectionsPacketSize(WorldChunk chunk)
private io.netty.buffer.ByteBuf
c()
getWriteBuffer()
method_38595()
getWritableSectionsDataBuf()
public static void
a(vu arg0, eda arg1)
extractChunkData(FriendlyByteBuf arg0, LevelChunk arg1)
method_38591(class_2540 arg0, class_2818 arg1)
writeSections(PacketByteBuf buf, WorldChunk chunk)
public Consumer<ClientboundLevelChunkPacketData$BlockEntityTagOutput>
a(int arg0, int arg1)
getBlockEntitiesTagsConsumer(int arg0, int arg1)
method_38587(int arg0, int arg1)
getBlockEntities(int x, int z)
private void
a(adf$b arg0, int arg1, int arg2)
getBlockEntitiesTags(ClientboundLevelChunkPacketData$BlockEntityTagOutput arg0, int arg1, int arg2)
method_38593(class_6603$class_6605 arg0, int arg1, int arg2)
iterateBlockEntities(ChunkData$BlockEntityVisitor consumer, int x, int z)
public FriendlyByteBuf
a()
getReadBuffer()
method_38586()
getSectionsDataBuf()
public Map<Heightmap$Types, long[]>
b()
getHeightmaps()
method_38594()
getHeightmap()