Package net.minecraft.client.multiplayer
Class ServerStatusPinger
java.lang.Object
net.minecraft.client.multiplayer.ServerStatusPinger
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private final List<Connection>
(package private) static final org.slf4j.Logger
(package private) static final com.google.common.base.Splitter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static Component
formatPlayerCount
(int p_105467_, int p_105468_) (package private) void
onPingFailed
(Component p_171815_, ServerData p_171816_) (package private) void
pingLegacyServer
(InetSocketAddress p_171812_, ServerData p_171813_) void
pingServer
(ServerData p_105460_, Runnable p_105461_) void
void
tick()
-
Field Details
-
SPLITTER
static final com.google.common.base.Splitter SPLITTER -
LOGGER
static final org.slf4j.Logger LOGGER -
CANT_CONNECT_MESSAGE
-
connections
-
-
Constructor Details
-
ServerStatusPinger
public ServerStatusPinger()
-
-
Method Details
-
pingServer
- Throws:
UnknownHostException
-
onPingFailed
-
pingLegacyServer
-
formatPlayerCount
-
tick
public void tick() -
removeAll
public void removeAll()
-