Class ClientboundSetBorderWarningDelayPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetBorderWarningDelayPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetBorderWarningDelayPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderWarningDelayPacket> private final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(ClientGamePacketListener p_179263_) type()
private void
write
(FriendlyByteBuf p_179259_) 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, isTerminal
-
Field Details
-
STREAM_CODEC
public static final StreamCodec<FriendlyByteBuf,ClientboundSetBorderWarningDelayPacket> STREAM_CODEC -
warningDelay
private final int warningDelay
-
-
Constructor Details
-
ClientboundSetBorderWarningDelayPacket
-
ClientboundSetBorderWarningDelayPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getWarningDelay
public int getWarningDelay()
-