Class ClientboundSetBorderSizePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetBorderSizePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetBorderSizePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doublestatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderSizePacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetSize()voidhandle(ClientGamePacketListener handler) Passes this Packet on to the PacketListener for processing.type()private voidwrite(FriendlyByteBuf buffer) 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
-
size
private final double size
-
-
Constructor Details
-
ClientboundSetBorderSizePacket
-
ClientboundSetBorderSizePacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
Passes this Packet on to the PacketListener for processing.- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getSize
public double getSize()
-