Class ClientboundKeepAlivePacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundKeepAlivePacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
public class ClientboundKeepAlivePacket
extends Object
implements Packet<ClientCommonPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundKeepAlivePacket
(long p_300888_) ClientboundKeepAlivePacket
(FriendlyByteBuf p_300278_) -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
void
handle
(ClientCommonPacketListener p_297897_) void
write
(FriendlyByteBuf p_299560_) 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, nextProtocol
-
Field Details
-
id
private final long id
-
-
Constructor Details
-
ClientboundKeepAlivePacket
public ClientboundKeepAlivePacket(long p_300888_) -
ClientboundKeepAlivePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientCommonPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientCommonPacketListener>
-
getId
public long getId()
-