net.minecraft.network.protocol.game

public class ClientboundSetBorderCenterPacket

implements Packet<ClientGamePacketListener>

aek
net.minecraft.network.protocol.game.ClientboundSetBorderCenterPacket
net.minecraft.class_5895
net.minecraft.network.packet.s2c.play.WorldBorderCenterChangedS2CPacket
net.minecraft.network.protocol.game.ClientboundSetBorderCenterPacket

Field summary

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

Constructor summary

ModifierConstructor
public (WorldBorder worldBorder)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55915(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetBorderCenterPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_34156(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public double
b()
getNewCenterZ()
method_34157()
getCenterZ()
public double
e()
getNewCenterX()
method_34158()
getCenterX()