Class ServerboundPongPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.common.serverbound.ServerboundPongPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundPongPacket(int id) ServerboundPongPacket(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
isTerminal, shouldRunOnGameThread
-
Constructor Details
-
ServerboundPongPacket
-
ServerboundPongPacket
public ServerboundPongPacket(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).
-