net.minecraft.network.protocol.game

public class ClientboundInitializeBorderPacket

implements Packet<ClientGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundInitializeBorderPacket>
a
STREAM_CODEC
field_47930
CODEC
private final double
b
newCenterX
field_29123
centerX
private final double
c
newCenterZ
field_29124
centerZ
private final double
d
oldSize
field_29125
size
private final double
e
newSize
field_29126
sizeLerpTarget
private final long
f
lerpTime
field_29127
sizeLerpTime
private final int
g
newAbsoluteMaxSize
field_29128
maxRadius
private final int
h
warningBlocks
field_29129
warningBlocks
private final int
i
warningTime
field_29130
warningTime

Constructor summary

ModifierConstructor
private (FriendlyByteBuf buf)
public (WorldBorder worldBorder)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55882(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundInitializeBorderPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_34123(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public double
b()
getNewCenterX()
method_34124()
getCenterX()
public double
e()
getNewCenterZ()
method_34125()
getCenterZ()
public double
f()
getNewSize()
method_34126()
getSizeLerpTarget()
public double
g()
getOldSize()
method_34127()
getSize()
public long
h()
getLerpTime()
method_34128()
getSizeLerpTime()
public int
i()
getNewAbsoluteMaxSize()
method_34129()
getMaxRadius()
public int
j()
getWarningTime()
method_34130()
getWarningTime()
public int
k()
getWarningBlocks()
method_34131()
getWarningBlocks()