Package net.minecraft.client.network
Class MultiplayerServerListPinger
java.lang.Object
net.minecraft.client.network.MultiplayerServerListPinger
- Mappings:
Namespace Name named net/minecraft/client/network/MultiplayerServerListPinger
intermediary net/minecraft/class_644
official fyn
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private final List
<ClientConnection> private static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ServerInfo entry, Runnable saver, Runnable pingCallback) void
cancel()
static Text
createPlayerCountText
(int current, int max) (package private) void
ping
(InetSocketAddress socketAddress, ServerAddress address, ServerInfo serverInfo) (package private) void
showError
(Text error, ServerInfo info) void
tick()
-
Field Details
-
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
Lfyn;a:Lorg/slf4j/Logger;
-
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
Lfyn;b:Lxp;
-
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
Lfyn;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
Lfyn;a(Lfyl;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
-
showError
- 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
Lfyn;a(Lxp;Lfyl;)V
-
ping
- 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
Lfyn;a(Ljava/net/InetSocketAddress;Lfzo;Lfyl;)V
-
createPlayerCountText
- 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
Lfyn;a(II)Lxp;
-
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
Lfyn;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
Lfyn;b()V
-