Class ServerAddress
java.lang.Object
net.minecraft.client.multiplayer.resolver.ServerAddress
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.google.common.net.HostAndPort
private static ServerAddress
private static org.apache.logging.log4j.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_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.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