net.minecraft.network.packet.s2c.play

public class WorldBorderInterpolateSizeS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundSetBorderLerpSizePacket
net.minecraft.class_5896
net.minecraft.network.packet.s2c.play.WorldBorderInterpolateSizeS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, WorldBorderInterpolateSizeS2CPacket>
STREAM_CODEC
field_47969
CODEC
private final double
oldSize
field_29145
size
private final double
newSize
field_29146
sizeLerpTarget
private final long
lerpTime
field_29147
sizeLerpTime

Constructor summary

ModifierConstructor
public (WorldBorder worldBorder)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55916(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<WorldBorderInterpolateSizeS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_34159(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public double
getOldSize()
method_34160()
getSize()
public double
getNewSize()
method_34161()
getSizeLerpTarget()
public long
getLerpTime()
method_34162()
getSizeLerpTime()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)