net.minecraft.network.packet.s2c.play

public class WorldBorderInitializeS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundInitializeBorderPacket
net.minecraft.class_5889
net.minecraft.network.packet.s2c.play.WorldBorderInitializeS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, WorldBorderInitializeS2CPacket>
STREAM_CODEC
field_47930
CODEC
private final double
newCenterX
field_29123
centerX
private final double
newCenterZ
field_29124
centerZ
private final double
oldSize
field_29125
size
private final double
newSize
field_29126
sizeLerpTarget
private final long
lerpTime
field_29127
sizeLerpTime
private final int
newAbsoluteMaxSize
field_29128
maxRadius
private final int
warningBlocks
field_29129
warningBlocks
private final int
warningTime
field_29130
warningTime

Constructor summary

ModifierConstructor
private (PacketByteBuf buf)
public (WorldBorder worldBorder)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55882(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<WorldBorderInitializeS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_34123(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public double
getNewCenterX()
method_34124()
getCenterX()
public double
getNewCenterZ()
method_34125()
getCenterZ()
public double
getNewSize()
method_34126()
getSizeLerpTarget()
public double
getOldSize()
method_34127()
getSize()
public long
getLerpTime()
method_34128()
getSizeLerpTime()
public int
getNewAbsoluteMaxSize()
method_34129()
getMaxRadius()
public int
getWarningTime()
method_34130()
getWarningTime()
public int
getWarningBlocks()
method_34131()
getWarningBlocks()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)