Class QueryPingC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.query.QueryPingC2SPacket
- All Implemented Interfaces:
Packet<ServerQueryPacketListener>
public class QueryPingC2SPacket extends Object implements Packet<ServerQueryPacketListener>
- Mappings:
Namespace Name official vh
intermediary net/minecraft/class_2935
named net/minecraft/network/packet/c2s/query/QueryPingC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private long
startTime
-
Constructor Summary
Constructors Constructor Description QueryPingC2SPacket()
QueryPingC2SPacket(long startTime)
-
Method Summary
Modifier and Type Method Description void
apply(ServerQueryPacketListener serverQueryPacketListener)
long
getStartTime()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
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.Packet
isWritingErrorSkippable
-
Field Details
-
startTime
private long startTime- Mappings:
Namespace Name Mixin selector official a
Lvh;a:J
intermediary field_13292
Lnet/minecraft/class_2935;field_13292:J
named startTime
Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;startTime:J
-
-
Constructor Details
-
QueryPingC2SPacket
public QueryPingC2SPacket() -
QueryPingC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lvh;<init>(J)V
intermediary <init>
Lnet/minecraft/class_2935;<init>(J)V
named <init>
Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;<init>(J)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerQueryPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ServerQueryPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerQueryPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvh;a(Lvg;)V
intermediary method_12699
Lnet/minecraft/class_2935;method_12699(Lnet/minecraft/class_2933;)V
named apply
Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;apply(Lnet/minecraft/network/listener/ServerQueryPacketListener;)V
-
getStartTime
public long getStartTime()- Mappings:
Namespace Name Mixin selector official b
Lvh;b()J
intermediary method_12700
Lnet/minecraft/class_2935;method_12700()J
named getStartTime
Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;getStartTime()J
-