Class MultiplayerServerListPinger

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/network/MultiplayerServerListPinger;LOGGER:Lorg/slf4j/Logger;
      intermediary field_3771 Lnet/minecraft/class_644;field_3771:Lorg/slf4j/Logger;
      official a Lfzb;a:Lorg/slf4j/Logger;
    • CANNOT_CONNECT_TEXT

      private static final Text CANNOT_CONNECT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CANNOT_CONNECT_TEXT Lnet/minecraft/client/network/MultiplayerServerListPinger;CANNOT_CONNECT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_33740 Lnet/minecraft/class_644;field_33740:Lnet/minecraft/class_2561;
      official b Lfzb;b:Lwu;
    • clientConnections

      private final List<ClientConnection> clientConnections
      Mappings:
      Namespace Name Mixin selector
      named clientConnections Lnet/minecraft/client/network/MultiplayerServerListPinger;clientConnections:Ljava/util/List;
      intermediary field_3769 Lnet/minecraft/class_644;field_3769:Ljava/util/List;
      official c Lfzb;c:Ljava/util/List;
  • Constructor Details

    • MultiplayerServerListPinger

      public MultiplayerServerListPinger()
  • Method Details

    • add

      public void add(ServerInfo entry, Runnable saver, Runnable pingCallback) throws UnknownHostException
      Throws:
      UnknownHostException
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/network/MultiplayerServerListPinger;add(Lnet/minecraft/client/network/ServerInfo;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      intermediary method_3003 Lnet/minecraft/class_644;method_3003(Lnet/minecraft/class_642;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      official a Lfzb;a(Lfyz;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
    • showError

      void showError(Text error, ServerInfo info)
      Mappings:
      Namespace Name Mixin selector
      named showError Lnet/minecraft/client/network/MultiplayerServerListPinger;showError(Lnet/minecraft/text/Text;Lnet/minecraft/client/network/ServerInfo;)V
      intermediary method_36897 Lnet/minecraft/class_644;method_36897(Lnet/minecraft/class_2561;Lnet/minecraft/class_642;)V
      official a Lfzb;a(Lwu;Lfyz;)V
    • ping

      void ping(InetSocketAddress socketAddress, ServerAddress address, ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      named ping Lnet/minecraft/client/network/MultiplayerServerListPinger;ping(Ljava/net/InetSocketAddress;Lnet/minecraft/client/network/ServerAddress;Lnet/minecraft/client/network/ServerInfo;)V
      intermediary method_3001 Lnet/minecraft/class_644;method_3001(Ljava/net/InetSocketAddress;Lnet/minecraft/class_639;Lnet/minecraft/class_642;)V
      official a Lfzb;a(Ljava/net/InetSocketAddress;Lgad;Lfyz;)V
    • createPlayerCountText

      public static Text createPlayerCountText(int current, int max)
      Mappings:
      Namespace Name Mixin selector
      named createPlayerCountText Lnet/minecraft/client/network/MultiplayerServerListPinger;createPlayerCountText(II)Lnet/minecraft/text/Text;
      intermediary method_27647 Lnet/minecraft/class_644;method_27647(II)Lnet/minecraft/class_2561;
      official a Lfzb;a(II)Lwu;
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/network/MultiplayerServerListPinger;tick()V
      intermediary method_3000 Lnet/minecraft/class_644;method_3000()V
      official a Lfzb;a()V
    • cancel

      public void cancel()
      Mappings:
      Namespace Name Mixin selector
      named cancel Lnet/minecraft/client/network/MultiplayerServerListPinger;cancel()V
      intermediary method_3004 Lnet/minecraft/class_644;method_3004()V
      official b Lfzb;b()V