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
net.minecraft.src.C_183117_
net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData

Field summary

Modifier and TypeField
private static final int
a
TWO_MEGABYTES
field_34862
MAX_SECTIONS_DATA_SIZE
f_195646_
private final CompoundTag
b
heightmaps
field_34863
heightmap
f_195647_
private final byte[]
c
buffer
field_34864
sectionsData
f_195648_
private final List<ClientboundLevelChunkPacketData$BlockEntityInfo>
d
blockEntitiesData
field_34865
blockEntities
f_195649_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_38590(class_9129 arg0)
write(RegistryByteBuf buf)
m_195666_(C_313350_ arg0)
private static int
a(dvi arg0)
calculateChunkSize(LevelChunk arg0)
method_38589(class_2818 arg0)
getSectionsPacketSize(WorldChunk chunk)
m_195664_(C_2137_ p_195665_)
private io.netty.buffer.ByteBuf
c()
getWriteBuffer()
method_38595()
getWritableSectionsDataBuf()
m_195679_()
public static void
a(vw arg0, dvi arg1)
extractChunkData(FriendlyByteBuf arg0, LevelChunk arg1)
method_38591(class_2540 arg0, class_2818 arg1)
writeSections(PacketByteBuf buf, WorldChunk chunk)
m_195668_(C_4983_ p_195669_, C_2137_ p_195670_)
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)
m_195657_(int p_195659_, int arg1)
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)
m_195674_(C_183117_$C_183119_ p_195676_, int p_195677_, int arg2)
public FriendlyByteBuf
a()
getReadBuffer()
method_38586()
getSectionsDataBuf()
m_195656_()
public CompoundTag
b()
getHeightmaps()
method_38594()
getHeightmap()
m_195678_()