Class ServerboundKeepAlivePacket
java.lang.Object
net.minecraft.network.protocol.common.ServerboundKeepAlivePacket
- All Implemented Interfaces:
 Packet<ServerCommonPacketListener>
public class ServerboundKeepAlivePacket
extends Object
implements Packet<ServerCommonPacketListener>
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionServerboundKeepAlivePacket(long p_300615_) ServerboundKeepAlivePacket(FriendlyByteBuf p_299677_)  - 
Method Summary
Modifier and TypeMethodDescriptionlonggetId()voidhandle(ServerCommonPacketListener p_297247_) voidwrite(FriendlyByteBuf p_299172_) 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, nextProtocol 
- 
Field Details
- 
id
private final long id 
 - 
 - 
Constructor Details
- 
ServerboundKeepAlivePacket
public ServerboundKeepAlivePacket(long p_300615_)  - 
ServerboundKeepAlivePacket
 
 - 
 - 
Method Details
- 
handle
- Specified by:
 handlein interfacePacket<ServerCommonPacketListener>
 - 
write
- Specified by:
 writein interfacePacket<ServerCommonPacketListener>
 - 
getId
public long getId() 
 -