net.minecraft.network.protocol.game

public class ClientboundLevelChunkPacketData

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

Field summary

Modifier and TypeField
private static final int
a
TWO_MEGABYTES
field_34862
MAX_SECTIONS_DATA_SIZE
private final CompoundTag
b
heightmaps
field_34863
heightmap
private final byte[]
c
buffer
field_34864
sectionsData
private final List<ClientboundLevelChunkPacketData$BlockEntityInfo>
d
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(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_38590(class_9129 arg0)
write(RegistryByteBuf buf)
private static int
a(eaa 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(ws arg0, eaa 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(aed$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 CompoundTag
b()
getHeightmaps()
method_38594()
getHeightmap()