net.minecraft.network.packet.s2c.play

public class ChunkRenderDistanceCenterS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundSetChunkCacheCenterPacket
net.minecraft.class_4282
net.minecraft.network.packet.s2c.play.ChunkRenderDistanceCenterS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, ChunkRenderDistanceCenterS2CPacket>
STREAM_CODEC
field_47975
CODEC
private final int
x
field_19206
chunkX
private final int
z
field_19207
chunkZ

Constructor summary

ModifierConstructor
public (int x, int z)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55922(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ChunkRenderDistanceCenterS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_20321(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getX()
method_20322()
getChunkX()
public int
getZ()
method_20323()
getChunkZ()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)