Package net.minecraft.client.network
Class ServerAddress
java.lang.Object
net.minecraft.client.network.ServerAddress
- Mappings:
Namespace Name named net/minecraft/client/network/ServerAddressintermediary net/minecraft/class_639official gax
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HostAndPortprivate static final ServerAddressprivate static final Logger -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateServerAddress(HostAndPort hostAndPort) ServerAddress(String host, int port) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetPort()inthashCode()static booleanstatic ServerAddress(package private) static intportOrDefault(String port) toString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/network/ServerAddress;LOGGER:Lorg/slf4j/Logger;intermediary field_33416Lnet/minecraft/class_639;field_33416:Lorg/slf4j/Logger;official aLgax;a:Lorg/slf4j/Logger;
-
INVALID
- Mappings:
Namespace Name Mixin selector named INVALIDLnet/minecraft/client/network/ServerAddress;INVALID:Lnet/minecraft/client/network/ServerAddress;intermediary field_33418Lnet/minecraft/class_639;field_33418:Lnet/minecraft/class_639;official cLgax;c:Lgax;
-
hostAndPort
- Mappings:
Namespace Name Mixin selector named hostAndPortLnet/minecraft/client/network/ServerAddress;hostAndPort:Lcom/google/common/net/HostAndPort;intermediary field_33417Lnet/minecraft/class_639;field_33417:Lcom/google/common/net/HostAndPort;official bLgax;b:Lcom/google/common/net/HostAndPort;
-
-
Constructor Details
-
ServerAddress
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/network/ServerAddress;<init>(Ljava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_639;<init>(Ljava/lang/String;I)Vofficial <init>Lgax;<init>(Ljava/lang/String;I)V
-
ServerAddress
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/network/ServerAddress;<init>(Lcom/google/common/net/HostAndPort;)Vintermediary <init>Lnet/minecraft/class_639;<init>(Lcom/google/common/net/HostAndPort;)Vofficial <init>Lgax;<init>(Lcom/google/common/net/HostAndPort;)V
-
-
Method Details
-
getAddress
- Mappings:
Namespace Name Mixin selector named getAddressLnet/minecraft/client/network/ServerAddress;getAddress()Ljava/lang/String;intermediary method_2952Lnet/minecraft/class_639;method_2952()Ljava/lang/String;official aLgax;a()Ljava/lang/String;
-
getPort
public int getPort()- Mappings:
Namespace Name Mixin selector named getPortLnet/minecraft/client/network/ServerAddress;getPort()Iintermediary method_2954Lnet/minecraft/class_639;method_2954()Iofficial bLgax;b()I
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/client/network/ServerAddress;parse(Ljava/lang/String;)Lnet/minecraft/client/network/ServerAddress;intermediary method_2950Lnet/minecraft/class_639;method_2950(Ljava/lang/String;)Lnet/minecraft/class_639;official aLgax;a(Ljava/lang/String;)Lgax;
-
isValid
- Mappings:
Namespace Name Mixin selector named isValidLnet/minecraft/client/network/ServerAddress;isValid(Ljava/lang/String;)Zintermediary method_36224Lnet/minecraft/class_639;method_36224(Ljava/lang/String;)Zofficial bLgax;b(Ljava/lang/String;)Z
-
portOrDefault
- Mappings:
Namespace Name Mixin selector named portOrDefaultLnet/minecraft/client/network/ServerAddress;portOrDefault(Ljava/lang/String;)Iintermediary method_2951Lnet/minecraft/class_639;method_2951(Ljava/lang/String;)Iofficial cLgax;c(Ljava/lang/String;)I
-
toString
-
equals
-
hashCode
public int hashCode()
-