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