Class ClientboundPingPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundPingPacket
- All Implemented Interfaces:
- Packet<ClientCommonPacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundPingPacket(int p_294778_) ClientboundPingPacket(FriendlyByteBuf p_294565_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()voidhandle(ClientCommonPacketListener p_295189_) voidwrite(FriendlyByteBuf p_295570_) 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 int id
 
- 
- 
Constructor Details- 
ClientboundPingPacketpublic ClientboundPingPacket(int p_294778_) 
- 
ClientboundPingPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientCommonPacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientCommonPacketListener>
 
- 
getIdpublic int getId()
 
-