Class ClientboundSetBorderCenterPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetBorderCenterPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetBorderCenterPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final double
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderCenterPacket> -
Constructor Summary
ModifierConstructorDescriptionprivate
ClientboundSetBorderCenterPacket
(FriendlyByteBuf p_179216_) ClientboundSetBorderCenterPacket
(WorldBorder p_179214_) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
void
handle
(ClientGamePacketListener p_179222_) type()
private void
write
(FriendlyByteBuf p_179218_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
newCenterX
private final double newCenterX -
newCenterZ
private final double newCenterZ
-
-
Constructor Details
-
ClientboundSetBorderCenterPacket
-
ClientboundSetBorderCenterPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getNewCenterZ
public double getNewCenterZ() -
getNewCenterX
public double getNewCenterX()
-