net.minecraft.network.protocol.game

public class ClientboundSetBorderCenterPacket

implements Packet<ClientGamePacketListener>

aeo
net.minecraft.network.protocol.game.ClientboundSetBorderCenterPacket
net.minecraft.class_5895
net.minecraft.network.packet.s2c.play.WorldBorderCenterChangedS2CPacket
net.minecraft.src.C_141864_
net.minecraft.network.protocol.game.ClientboundSetBorderCenterPacket

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetBorderCenterPacket>
a
STREAM_CODEC
field_47968
CODEC
f_314354_
private final double
b
newCenterX
field_29143
centerX
f_179211_
private final double
c
newCenterZ
field_29144
centerZ
f_179212_

Constructor summary

ModifierConstructor
public (WorldBorder worldBorder)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55915(class_2540 arg0)
write(PacketByteBuf buf)
m_179217_(C_4983_ arg0)
public PacketType<ClientboundSetBorderCenterPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_34156(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public double
b()
getNewCenterZ()
method_34157()
getCenterZ()
m_179223_()
public double
e()
getNewCenterX()
method_34158()
getCenterX()
m_179224_()