Class PingResultS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.query.PingResultS2CPacket
All Implemented Interfaces:
Packet<ClientPingResultPacketListener>

public class PingResultS2CPacket extends Object implements Packet<ClientPingResultPacketListener>
Mappings:
Namespace Name
official adx
intermediary net/minecraft/class_2923
named net/minecraft/network/packet/s2c/query/PingResultS2CPacket
  • Field Details

    • startTime

      private final long startTime
      Mappings:
      Namespace Name Mixin selector
      official a Ladx;a:J
      intermediary field_13280 Lnet/minecraft/class_2923;field_13280:J
      named startTime Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;startTime:J
  • Constructor Details

    • PingResultS2CPacket

      public PingResultS2CPacket(long startTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladx;<init>(J)V
      intermediary <init> Lnet/minecraft/class_2923;<init>(J)V
      named <init> Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;<init>(J)V
    • PingResultS2CPacket

      public PingResultS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladx;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2923;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPingResultPacketListener>
      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(ClientPingResultPacketListener clientPingResultPacketListener)
      Specified by:
      apply in interface Packet<ClientPingResultPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ladx;a(Lsi;)V
      intermediary method_12670 Lnet/minecraft/class_2923;method_12670(Lnet/minecraft/class_8763;)V
      named apply Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;apply(Lnet/minecraft/network/listener/ClientPingResultPacketListener;)V
    • getStartTime

      public long getStartTime()
      Mappings:
      Namespace Name Mixin selector
      official a Ladx;a()J
      intermediary method_36180 Lnet/minecraft/class_2923;method_36180()J
      named getStartTime Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;getStartTime()J