Class ClientboundKeepAlivePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundKeepAlivePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundKeepAlivePacket
(long p_132212_) ClientboundKeepAlivePacket
(FriendlyByteBuf p_178895_) -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
void
handle
(ClientGamePacketListener p_132218_) void
write
(FriendlyByteBuf p_132221_) 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
-
id
private final long id
-
-
Constructor Details
-
ClientboundKeepAlivePacket
public ClientboundKeepAlivePacket(long p_132212_) -
ClientboundKeepAlivePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public long getId()
-