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, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanlongdoubledoubleinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundSetBorderLerpSizePacketwithLerpTime(long lerpTime) @NonNull ClientboundSetBorderLerpSizePacketwithNewSize(double newSize) @NonNull ClientboundSetBorderLerpSizePacketwithOldSize(double oldSize) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ClientboundSetBorderLerpSizePacket
-
ClientboundSetBorderLerpSizePacket
public ClientboundSetBorderLerpSizePacket(double oldSize, double newSize, long lerpTime)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getOldSize
public double getOldSize() -
getNewSize
public double getNewSize() -
getLerpTime
public long getLerpTime() -
equals
-
canEqual
-
hashCode
public int 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).
-