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
-
Constructor Summary
ConstructorDescriptionClientboundSetBorderLerpSizePacket(FriendlyByteBuf p_179231_)
ClientboundSetBorderLerpSizePacket(WorldBorder p_179229_)
-
Method Summary
Modifier and TypeMethodDescriptionlong
double
double
void
handle(ClientGamePacketListener p_179237_)
void
write(FriendlyByteBuf p_179233_)
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
-
Field Details
-
oldSize
private final double oldSize -
newSize
private final double newSize -
lerpTime
private final long lerpTime
-
-
Constructor Details
-
ClientboundSetBorderLerpSizePacket
-
ClientboundSetBorderLerpSizePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getOldSize
public double getOldSize() -
getNewSize
public double getNewSize() -
getLerpTime
public long getLerpTime()
-