Class MultiplayerServerListPinger

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

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

    • ZERO_SPLITTER

      static final Splitter ZERO_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official a Lelf;a:Lcom/google/common/base/Splitter;
      intermediary field_3770 Lnet/minecraft/class_644;field_3770:Lcom/google/common/base/Splitter;
      named ZERO_SPLITTER Lnet/minecraft/client/network/MultiplayerServerListPinger;ZERO_SPLITTER:Lcom/google/common/base/Splitter;
    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lelf;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_3771 Lnet/minecraft/class_644;field_3771:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/network/MultiplayerServerListPinger;LOGGER:Lorg/apache/logging/log4j/Logger;
    • CANNOT_CONNECT_TEXT

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

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

    • MultiplayerServerListPinger

      public MultiplayerServerListPinger()
  • Method Details

    • add

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

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

      void ping(InetSocketAddress address, ServerInfo info)
      Mappings:
      Namespace Name Mixin selector
      official a Lelf;a(Ljava/net/InetSocketAddress;Leld;)V
      intermediary method_3001 Lnet/minecraft/class_644;method_3001(Ljava/net/InetSocketAddress;Lnet/minecraft/class_642;)V
      named ping Lnet/minecraft/client/network/MultiplayerServerListPinger;ping(Ljava/net/InetSocketAddress;Lnet/minecraft/client/network/ServerInfo;)V
    • createPlayerCountText

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

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

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