Class ClientboundPingPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundPingPacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientboundPingPacket(int p_298858_) ClientboundPingPacket(FriendlyByteBuf p_301364_) -
Method Summary
Modifier and TypeMethodDescriptionintgetId()voidhandle(ClientCommonPacketListener p_299413_) voidwrite(FriendlyByteBuf p_298056_) 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 int id
-
-
Constructor Details
-
ClientboundPingPacket
public ClientboundPingPacket(int p_298858_) -
ClientboundPingPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientCommonPacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientCommonPacketListener>
-
getId
public int getId()
-