Class Ping

java.lang.Object
net.minecraft.client.realms.Ping

@Environment(CLIENT) public class Ping extends Object
Mappings:
Namespace Name
official dqy
intermediary net/minecraft/class_4339
named net/minecraft/client/realms/Ping
  • Constructor Details

    • Ping

      public Ping()
  • Method Details

    • ping

      public static List<RegionPingResult> ping(Ping.Region[] regions)
      Mappings:
      Namespace Name Mixin selector
      official a Ldqy;a([Ldqy$a;)Ljava/util/List;
      intermediary method_20984 Lnet/minecraft/class_4339;method_20984([Lnet/minecraft/class_4339$class_4340;)Ljava/util/List;
      named ping Lnet/minecraft/client/realms/Ping;ping([Lnet/minecraft/client/realms/Ping$Region;)Ljava/util/List;
    • ping

      private static int ping(String host)
      Mappings:
      Namespace Name Mixin selector
      official a Ldqy;a(Ljava/lang/String;)I
      intermediary method_20982 Lnet/minecraft/class_4339;method_20982(Ljava/lang/String;)I
      named ping Lnet/minecraft/client/realms/Ping;ping(Ljava/lang/String;)I
    • close

      private static void close(Socket socket)
      Mappings:
      Namespace Name Mixin selector
      official a Ldqy;a(Ljava/net/Socket;)V
      intermediary method_20983 Lnet/minecraft/class_4339;method_20983(Ljava/net/Socket;)V
      named close Lnet/minecraft/client/realms/Ping;close(Ljava/net/Socket;)V
    • now

      private static long now()
      Mappings:
      Namespace Name Mixin selector
      official b Ldqy;b()J
      intermediary method_20985 Lnet/minecraft/class_4339;method_20985()J
      named now Lnet/minecraft/client/realms/Ping;now()J
    • pingAllRegions

      public static List<RegionPingResult> pingAllRegions()
      Mappings:
      Namespace Name Mixin selector
      official a Ldqy;a()Ljava/util/List;
      intermediary method_20981 Lnet/minecraft/class_4339;method_20981()Ljava/util/List;
      named pingAllRegions Lnet/minecraft/client/realms/Ping;pingAllRegions()Ljava/util/List;