net.minecraft.network.protocol.game

public class ClientboundSetBorderWarningDistancePacket

implements Packet<ClientGamePacketListener>

afu
net.minecraft.network.protocol.game.ClientboundSetBorderWarningDistancePacket
net.minecraft.class_5899
net.minecraft.network.packet.s2c.play.WorldBorderWarningBlocksChangedS2CPacket
net.minecraft.network.protocol.game.ClientboundSetBorderWarningDistancePacket

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetBorderWarningDistancePacket>
a
STREAM_CODEC
field_47972
CODEC
private final int
b
warningBlocks
field_29150
warningBlocks

Constructor summary

ModifierConstructor
public (WorldBorder worldBorder)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55919(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetBorderWarningDistancePacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_34167(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getWarningBlocks()
method_34168()
getWarningBlocks()