Class ClientboundSetBorderWarningDistancePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetBorderWarningDistancePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetBorderWarningDistancePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle(ClientGamePacketListener p_179275_)
void
write(FriendlyByteBuf p_179271_)
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
-
warningBlocks
private final int warningBlocks
-
-
Constructor Details
-
ClientboundSetBorderWarningDistancePacket
-
ClientboundSetBorderWarningDistancePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getWarningBlocks
public int getWarningBlocks()
-