Class ClientboundPingPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPingPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundPingPacket
(int p_179016_) ClientboundPingPacket
(FriendlyByteBuf p_179018_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
void
handle
(ClientGamePacketListener p_179024_) void
write
(FriendlyByteBuf p_179020_) 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
-
Field Details
-
id
private final int id
-
-
Constructor Details
-
ClientboundPingPacket
public ClientboundPingPacket(int p_179016_) -
ClientboundPingPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId()
-