Class ClientboundPongResponsePacket
java.lang.Object
net.minecraft.network.protocol.status.ClientboundPongResponsePacket
- All Implemented Interfaces:
Packet<ClientPongPacketListener>
public class ClientboundPongResponsePacket
extends Object
implements Packet<ClientPongPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundPongResponsePacket
(long p_134876_) ClientboundPongResponsePacket
(FriendlyByteBuf p_179831_) -
Method Summary
Modifier and TypeMethodDescriptionlong
getTime()
void
handle
(ClientPongPacketListener p_299025_) void
write
(FriendlyByteBuf p_134884_) 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
-
time
private final long time
-
-
Constructor Details
-
ClientboundPongResponsePacket
public ClientboundPongResponsePacket(long p_134876_) -
ClientboundPongResponsePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPongPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientPongPacketListener>
-
getTime
public long getTime()
-