Class ServerAddress
java.lang.Object
net.minecraft.client.multiplayer.resolver.ServerAddress
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.net.HostAndPort
private static final ServerAddress
private static final org.slf4j.Logger
-
Constructor Summary
ModifierConstructorDescriptionprivate
ServerAddress
(com.google.common.net.HostAndPort p_171859_) ServerAddress
(String p_171861_, int p_171862_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getHost()
int
getPort()
int
hashCode()
static boolean
isValidAddress
(String p_171868_) (package private) static int
static ServerAddress
parseString
(String p_171865_) toString()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
hostAndPort
private final com.google.common.net.HostAndPort hostAndPort -
INVALID
-
-
Constructor Details
-
ServerAddress
-
ServerAddress
private ServerAddress(com.google.common.net.HostAndPort p_171859_)
-
-
Method Details