net.minecraft.network.protocol.game

public class ClientboundSetChunkCacheCenterPacket

implements Packet<ClientGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetChunkCacheCenterPacket>
a
STREAM_CODEC
field_47975
CODEC
private final int
b
x
field_19206
chunkX
private final int
c
z
field_19207
chunkZ

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55922(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetChunkCacheCenterPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_20321(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getX()
method_20322()
getChunkX()
public int
e()
getZ()
method_20323()
getChunkZ()