net.minecraft.network.protocol.game

public class ClientboundLevelChunkPacketData

aaj
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 (FriendlyByteBuf buf, int x, int z)

Method summary

Modifier and TypeMethod
public void
a(ui arg0)
write(FriendlyByteBuf arg0)
method_38590(class_2540 arg0)
write(PacketByteBuf buf)
m_195666_(C_4983_ arg0)
private static int
a(dlo 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(ui arg0, dlo 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(aaj$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_()