Class ClientboundSetBorderLerpSizePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetBorderLerpSizePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetBorderLerpSizePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate final doubleprivate final doublestatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderLerpSizePacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClientboundSetBorderLerpSizePacket(WorldBorder pWorldBorder) -
Method Summary
Modifier and TypeMethodDescriptionlongdoubledoublevoidhandle(ClientGamePacketListener p_179237_) 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
-
oldSize
private final double oldSize -
newSize
private final double newSize -
lerpTime
private final long lerpTime
-
-
Constructor Details
-
ClientboundSetBorderLerpSizePacket
-
ClientboundSetBorderLerpSizePacket
-
-
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>
-
getOldSize
public double getOldSize() -
getNewSize
public double getNewSize() -
getLerpTime
public long getLerpTime()
-