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
official aeb
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 Laeb;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> Laeb;<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> Laeb;<init>(Lso;)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<ServerQueryPingPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lso;)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(ServerQueryPingPacketListener serverQueryPingPacketListener)
      Specified by:
      apply in interface Packet<ServerQueryPingPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Laeb;a(Labe;)V
      intermediary method_12699 Lnet/minecraft/class_2935;method_12699(Lnet/minecraft/class_8740;)V
      named apply Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;apply(Lnet/minecraft/network/listener/ServerQueryPingPacketListener;)V
    • getStartTime

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