Class PingMeasurer

java.lang.Object
net.minecraft.client.network.PingMeasurer

@Environment(CLIENT) public class PingMeasurer extends Object
Mappings:
Namespace Name
official foa
intermediary net/minecraft/class_8761
named net/minecraft/client/network/PingMeasurer
  • Field Details

    • handler

      private final ClientPlayNetworkHandler handler
      Mappings:
      Namespace Name Mixin selector
      official a Lfoa;a:Lfnt;
      intermediary field_45948 Lnet/minecraft/class_8761;field_45948:Lnet/minecraft/class_634;
      named handler Lnet/minecraft/client/network/PingMeasurer;handler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
    • log

      private final PerformanceLog log
      Mappings:
      Namespace Name Mixin selector
      official b Lfoa;b:Lauy;
      intermediary field_45949 Lnet/minecraft/class_8761;field_45949:Lnet/minecraft/class_8743;
      named log Lnet/minecraft/client/network/PingMeasurer;log:Lnet/minecraft/util/profiler/PerformanceLog;
  • Constructor Details

    • PingMeasurer

      public PingMeasurer(ClientPlayNetworkHandler handler, PerformanceLog log)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfoa;<init>(Lfnt;Lauy;)V
      intermediary <init> Lnet/minecraft/class_8761;<init>(Lnet/minecraft/class_634;Lnet/minecraft/class_8743;)V
      named <init> Lnet/minecraft/client/network/PingMeasurer;<init>(Lnet/minecraft/client/network/ClientPlayNetworkHandler;Lnet/minecraft/util/profiler/PerformanceLog;)V
  • Method Details

    • ping

      public void ping()
      Mappings:
      Namespace Name Mixin selector
      official a Lfoa;a()V
      intermediary method_53486 Lnet/minecraft/class_8761;method_53486()V
      named ping Lnet/minecraft/client/network/PingMeasurer;ping()V
    • onPingResult

      public void onPingResult(PingResultS2CPacket packet)
      Mappings:
      Namespace Name Mixin selector
      official a Lfoa;a(Lagf;)V
      intermediary method_53487 Lnet/minecraft/class_8761;method_53487(Lnet/minecraft/class_2923;)V
      named onPingResult Lnet/minecraft/client/network/PingMeasurer;onPingResult(Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;)V