net.minecraft.client.multiplayer.resolver

public final class ServerAddress

ghc
net.minecraft.client.multiplayer.resolver.ServerAddress
net.minecraft.class_639
net.minecraft.client.network.ServerAddress

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_33416
LOGGER
private final com.google.common.net.HostAndPort
b
hostAndPort
field_33417
hostAndPort
private static final ServerAddress
c
INVALID
field_33418
INVALID

Constructor summary

ModifierConstructor
public (String host, int port)
private (com.google.common.net.HostAndPort hostAndPort)

Method summary

Modifier and TypeMethod
public String
a()
getHost()
method_2952()
getAddress()
public int
b()
getPort()
method_2954()
getPort()
public static ServerAddress
a(String arg0)
parseString(String arg0)
method_2950(String arg0)
parse(String address)
public static boolean
b(String arg0)
isValidAddress(String arg0)
method_36224(String arg0)
isValid(String address)
static int
c(String arg0)
parsePort(String arg0)
method_2951(String arg0)
portOrDefault(String port)