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
Modifier and TypeFieldDescriptionprivate final double
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderSizePacket> -
Constructor Summary
ModifierConstructorDescriptionprivate
ClientboundSetBorderSizePacket
(FriendlyByteBuf p_179245_) ClientboundSetBorderSizePacket
(WorldBorder p_179243_) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getSize()
void
handle
(ClientGamePacketListener p_179251_) type()
private void
write
(FriendlyByteBuf p_179247_) 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
-
size
private final double size
-
-
Constructor Details
-
ClientboundSetBorderSizePacket
-
ClientboundSetBorderSizePacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getSize
public double getSize()
-