net.minecraft.client.multiplayer.resolver

public final class ServerAddress

gax
net.minecraft.client.multiplayer.resolver.ServerAddress
net.minecraft.class_639
net.minecraft.client.network.ServerAddress
net.minecraft.src.C_141678_

Field summary

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

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()
m_171863_()
public int
b()
getPort()
method_2954()
getPort()
m_171866_()
public static ServerAddress
a(String arg0)
parseString(String arg0)
method_2950(String arg0)
parse(String address)
m_171864_(String p_171865_)
public static boolean
b(String arg0)
isValidAddress(String arg0)
method_36224(String arg0)
isValid(String address)
m_171867_(String p_171868_)
static int
c(String arg0)
parsePort(String arg0)
method_2951(String arg0)
portOrDefault(String port)
m_171869_(String p_171870_)