net.minecraft.client.network

public class MultiplayerServerListPinger

net.minecraft.client.multiplayer.ServerStatusPinger
net.minecraft.class_644
net.minecraft.client.network.MultiplayerServerListPinger

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_3771
LOGGER
private static final Text
CANT_CONNECT_MESSAGE
field_33740
CANNOT_CONNECT_TEXT
private static final TextParseContext
DESCRIPTION_SANITIZE_CONTEXT
field_1_2483
SANITIZING_CONTEXT
private final List<ClientConnection>
connections
field_3769
clientConnections

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
pingServer(ServerData data, Runnable onPersistentDataChange, Runnable onPongResponse, EventLoopGroupHolder eventLoopGroupHolder)
method_3003(class_642 arg0, Runnable arg1, Runnable arg2, class_12239 arg3)
add(ServerInfo entry, Runnable saver, Runnable pingCallback, NetworkingBackend backend)
private void
onPingFailed(Component reason, ServerData data)
method_36897(class_2561 arg0, class_642 arg1)
showError(Text error, ServerInfo info)
private void
pingLegacyServer(InetSocketAddress resolvedAddress, ServerAddress rawAddress, ServerData data, EventLoopGroupHolder eventLoopGroupHolder)
method_3001(InetSocketAddress arg0, class_639 arg1, class_642 arg2, class_12239 arg3)
ping(InetSocketAddress socketAddress, ServerAddress address, ServerInfo serverInfo, NetworkingBackend backend)
public static Text
formatPlayerCount(int curPlayers, int maxPlayers)
method_27647(int arg0, int arg1)
createPlayerCountText(int current, int max)
public void
tick()
method_3000()
tick()
public void
removeAll()
method_3004()
cancel()
private static boolean
lambda$static$0(ObjectInfo arg0)
method_1_3131(class_11724 arg0)
method_1_3131(TextObjectContents arg0)