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 aks
  • Field Details

    • CODEC

      public static final PacketCodec<ByteBuf,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 Laks;a:Lzt;
    • 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 Laks;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> Laks;<init>(J)V
    • QueryPingC2SPacket

      private QueryPingC2SPacket(ByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;<init>(Lio/netty/buffer/ByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2935;<init>(Lio/netty/buffer/ByteBuf;)V
      official <init> Laks;<init>(Lio/netty/buffer/ByteBuf;)V
  • Method Details

    • write

      private void write(ByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;write(Lio/netty/buffer/ByteBuf;)V
      intermediary method_56025 Lnet/minecraft/class_2935;method_56025(Lio/netty/buffer/ByteBuf;)V
      official a Laks;a(Lio/netty/buffer/ByteBuf;)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 Laac;a()Laae;
    • 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 Laks;a(Lakr;)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 Laks;b()J