Class ServerboundPingRequestPacket
java.lang.Object
net.minecraft.network.protocol.status.ServerboundPingRequestPacket
- All Implemented Interfaces:
Packet<ServerPingPacketListener>
public class ServerboundPingRequestPacket
extends Object
implements Packet<ServerPingPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerboundPingRequestPacket
(long p_134991_) ServerboundPingRequestPacket
(FriendlyByteBuf p_179838_) -
Method Summary
Modifier and TypeMethodDescriptionlong
getTime()
void
handle
(ServerPingPacketListener p_299264_) void
write
(FriendlyByteBuf p_135000_) 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
-
ServerboundPingRequestPacket
public ServerboundPingRequestPacket(long p_134991_) -
ServerboundPingRequestPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerPingPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerPingPacketListener>
-
getTime
public long getTime()
-