Class QueryPingC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.query.QueryPingC2SPacket
All Implemented Interfaces:
Packet<ServerQueryPingPacketListener>

public class QueryPingC2SPacket extends Object implements Packet<ServerQueryPingPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/query/QueryPingC2SPacket
intermediary net/minecraft/class_2935
official aka
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,QueryPingC2SPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48257 Lnet/minecraft/class_2935;field_48257:Lnet/minecraft/class_9139;
      official a Laka;a:Lzn;
    • startTime

      private final long startTime
      Mappings:
      Namespace Name Mixin selector
      named startTime Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;startTime:J
      intermediary field_13292 Lnet/minecraft/class_2935;field_13292:J
      official b Laka;b:J
  • Constructor Details

    • QueryPingC2SPacket

      public QueryPingC2SPacket(long startTime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;<init>(J)V
      intermediary <init> Lnet/minecraft/class_2935;<init>(J)V
      official <init> Laka;<init>(J)V
    • QueryPingC2SPacket

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

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56025 Lnet/minecraft/class_2935;method_56025(Lnet/minecraft/class_2540;)V
      official a Laka;a(Lwm;)V
    • getPacketId

      public PacketType<QueryPingC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ServerQueryPingPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzw;a()Lzy;
    • apply

      public void apply(ServerQueryPingPacketListener serverQueryPingPacketListener)
      Specified by:
      apply in interface Packet<ServerQueryPingPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;apply(Lnet/minecraft/network/listener/ServerQueryPingPacketListener;)V
      intermediary method_12699 Lnet/minecraft/class_2935;method_12699(Lnet/minecraft/class_8740;)V
      official a Laka;a(Lajz;)V
    • getStartTime

      public long getStartTime()
      Mappings:
      Namespace Name Mixin selector
      named getStartTime Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;getStartTime()J
      intermediary method_12700 Lnet/minecraft/class_2935;method_12700()J
      official b Laka;b()J