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) -
Method Summary
Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundPingPacket
public ClientboundPingPacket(io.netty.buffer.ByteBuf in) -
ClientboundPingPacket
public ClientboundPingPacket(int id)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getId
public int getId() -
equals
-
canEqual
-
hashCode
-
toString
-
withId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-