Class ClientboundSetBorderLerpSizePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.level.border.ClientboundSetBorderLerpSizePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundSetBorderLerpSizePacket(double oldSize, double newSize, long lerpTime) ClientboundSetBorderLerpSizePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanlongdoubledoubleinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundSetBorderLerpSizePacketwithLerpTime(long lerpTime) @NonNull ClientboundSetBorderLerpSizePacketwithNewSize(double newSize) @NonNull ClientboundSetBorderLerpSizePacketwithOldSize(double oldSize) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundSetBorderLerpSizePacket
public ClientboundSetBorderLerpSizePacket(io.netty.buffer.ByteBuf in) -
ClientboundSetBorderLerpSizePacket
public ClientboundSetBorderLerpSizePacket(double oldSize, double newSize, long lerpTime)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getOldSize
public double getOldSize() -
getNewSize
public double getNewSize() -
getLerpTime
public long getLerpTime() -
equals
-
canEqual
-
hashCode
-
toString
-
withOldSize
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNewSize
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLerpTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-