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 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

      @Environment(CLIENT) public QueryPingC2SPacket​(long startTime)
      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

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<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

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<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

      public void apply​(ServerQueryPacketListener serverQueryPacketListener)
      Specified by:
      apply in interface Packet<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