Class ServerboundKeepAlivePacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundKeepAlivePacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerboundKeepAlivePacket(long p_134095_)
ServerboundKeepAlivePacket(FriendlyByteBuf p_179671_)
-
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
void
handle(ServerGamePacketListener p_134101_)
void
write(FriendlyByteBuf p_134104_)
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
-
ServerboundKeepAlivePacket
public ServerboundKeepAlivePacket(long p_134095_) -
ServerboundKeepAlivePacket
-
-
Method Details
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
getId
public long getId()
-