Class ClientboundKeepAlivePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundKeepAlivePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientboundKeepAlivePacket(long p_132212_) ClientboundKeepAlivePacket(FriendlyByteBuf p_178895_) -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()voidhandle(ClientGamePacketListener p_132218_) voidwrite(FriendlyByteBuf p_132221_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getId
public long getId()
-