Package net.minecraft.client.multiplayer
Class ServerStatusPinger
java.lang.Object
net.minecraft.client.multiplayer.ServerStatusPinger
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Componentprivate final List<Connection>private static final org.slf4j.Logger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ComponentformatPlayerCount(int p_105467_, int p_105468_) (package private) voidonPingFailed(Component p_171815_, ServerData p_171816_) (package private) voidpingLegacyServer(InetSocketAddress p_171812_, ServerAddress p_300887_, ServerData p_171813_) voidpingServer(ServerData p_105460_, Runnable p_105461_) voidvoidtick()
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
CANT_CONNECT_MESSAGE
- 
connections
 
- 
- 
Constructor Details- 
ServerStatusPingerpublic ServerStatusPinger()
 
- 
- 
Method Details- 
pingServer- Throws:
- UnknownHostException
 
- 
onPingFailed
- 
pingLegacyServer
- 
formatPlayerCount
- 
tickpublic void tick()
- 
removeAllpublic void removeAll()
 
-