Class ClientboundPingPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundPingPacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundPingPacket
(int p_294778_) ClientboundPingPacket
(FriendlyByteBuf p_294565_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
void
handle
(ClientCommonPacketListener p_295189_) void
write
(FriendlyByteBuf p_295570_) 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, nextProtocol
-
Field Details
-
id
private final int id
-
-
Constructor Details
-
ClientboundPingPacket
public ClientboundPingPacket(int p_294778_) -
ClientboundPingPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientCommonPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientCommonPacketListener>
-
getId
public int getId()
-