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
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doublestatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderCenterPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublevoidhandle(ClientGamePacketListener p_179222_) Passes this Packet on to the PacketListener for processing.type()private voidwrite(FriendlyByteBuf pBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
typein interfacePacket<ClientGamePacketListener>
-
handle
Description copied from interface:PacketPasses this Packet on to the PacketListener for processing.- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getNewCenterZ
public double getNewCenterZ() -
getNewCenterX
public double getNewCenterX()
-