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 abv
intermediary net/minecraft/class_2935
named net/minecraft/network/packet/c2s/query/QueryPingC2SPacket
  • Field Details

    • startTime

      private final long startTime
      Mappings:
      Namespace Name Mixin selector
      official a Labv;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(long startTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labv;<init>(J)V
      intermediary <init> Lnet/minecraft/class_2935;<init>(J)V
      named <init> Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;<init>(J)V
    • QueryPingC2SPacket

      public QueryPingC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labv;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2935;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerQueryPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ServerQueryPacketListener serverQueryPacketListener)
      Specified by:
      apply in interface Packet<ServerQueryPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Labv;a(Labu;)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 a Labv;a()J
      intermediary method_12700 Lnet/minecraft/class_2935;method_12700()J
      named getStartTime Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;getStartTime()J