Class MultiplayerServerListPinger

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

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

    • LOGGER

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

      private static final Text CANNOT_CONNECT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lfof;b:Lvf;
      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 c Lfof;c: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 saver) throws UnknownHostException
      Throws:
      UnknownHostException
      Mappings:
      Namespace Name Mixin selector
      official a Lfof;a(Lfod;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 Lfof;a(Lvf;Lfod;)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 socketAddress, ServerAddress address, ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      official a Lfof;a(Ljava/net/InetSocketAddress;Lfpf;Lfod;)V
      intermediary method_3001 Lnet/minecraft/class_644;method_3001(Ljava/net/InetSocketAddress;Lnet/minecraft/class_639;Lnet/minecraft/class_642;)V
      named ping Lnet/minecraft/client/network/MultiplayerServerListPinger;ping(Ljava/net/InetSocketAddress;Lnet/minecraft/client/network/ServerAddress;Lnet/minecraft/client/network/ServerInfo;)V
    • createPlayerCountText

      public static Text createPlayerCountText(int current, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Lfof;a(II)Lvf;
      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 Lfof;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 Lfof;b()V
      intermediary method_3004 Lnet/minecraft/class_644;method_3004()V
      named cancel Lnet/minecraft/client/network/MultiplayerServerListPinger;cancel()V