Class ClientboundPingPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.common.clientbound.ClientboundPingPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundPingPacket(int id) ClientboundPingPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ClientboundPingPacket
-
ClientboundPingPacket
public ClientboundPingPacket(int id)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getId
public int getId() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-