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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundKeepAlivePacket(long p_300615_) ServerboundKeepAlivePacket(FriendlyByteBuf p_299677_) 
- 
Method SummaryModifier and TypeMethodDescriptionlonggetId()voidhandle(ServerCommonPacketListener p_297247_) voidwrite(FriendlyByteBuf p_299172_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
idprivate final long id
 
- 
- 
Constructor Details- 
ServerboundKeepAlivePacketpublic ServerboundKeepAlivePacket(long p_300615_) 
- 
ServerboundKeepAlivePacket
 
- 
- 
Method Details- 
handle- Specified by:
- handlein interface- Packet<ServerCommonPacketListener>
 
- 
write- Specified by:
- writein interface- Packet<ServerCommonPacketListener>
 
- 
getIdpublic long getId()
 
-