Package net.minecraft.client.network
Class ServerAddress
java.lang.Object
net.minecraft.client.network.ServerAddress
- Mappings:
Namespace Name named net/minecraft/client/network/ServerAddress
intermediary net/minecraft/class_639
official gar
-
Field Summary
Modifier and TypeFieldDescriptionprivate final HostAndPort
private static final ServerAddress
private static final Logger
-
Constructor Summary
ModifierConstructorDescriptionprivate
ServerAddress
(HostAndPort hostAndPort) ServerAddress
(String host, int port) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getPort()
int
hashCode()
static boolean
static ServerAddress
(package private) static int
portOrDefault
(String port) toString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/network/ServerAddress;LOGGER:Lorg/slf4j/Logger;
intermediary field_33416
Lnet/minecraft/class_639;field_33416:Lorg/slf4j/Logger;
official a
Lgar;a:Lorg/slf4j/Logger;
-
INVALID
- Mappings:
Namespace Name Mixin selector named INVALID
Lnet/minecraft/client/network/ServerAddress;INVALID:Lnet/minecraft/client/network/ServerAddress;
intermediary field_33418
Lnet/minecraft/class_639;field_33418:Lnet/minecraft/class_639;
official c
Lgar;c:Lgar;
-
hostAndPort
- Mappings:
Namespace Name Mixin selector named hostAndPort
Lnet/minecraft/client/network/ServerAddress;hostAndPort:Lcom/google/common/net/HostAndPort;
intermediary field_33417
Lnet/minecraft/class_639;field_33417:Lcom/google/common/net/HostAndPort;
official b
Lgar;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)V
intermediary <init>
Lnet/minecraft/class_639;<init>(Ljava/lang/String;I)V
official <init>
Lgar;<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;)V
intermediary <init>
Lnet/minecraft/class_639;<init>(Lcom/google/common/net/HostAndPort;)V
official <init>
Lgar;<init>(Lcom/google/common/net/HostAndPort;)V
-
-
Method Details
-
getAddress
- Mappings:
Namespace Name Mixin selector named getAddress
Lnet/minecraft/client/network/ServerAddress;getAddress()Ljava/lang/String;
intermediary method_2952
Lnet/minecraft/class_639;method_2952()Ljava/lang/String;
official a
Lgar;a()Ljava/lang/String;
-
getPort
public int getPort()- Mappings:
Namespace Name Mixin selector named getPort
Lnet/minecraft/client/network/ServerAddress;getPort()I
intermediary method_2954
Lnet/minecraft/class_639;method_2954()I
official b
Lgar;b()I
-
parse
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/client/network/ServerAddress;parse(Ljava/lang/String;)Lnet/minecraft/client/network/ServerAddress;
intermediary method_2950
Lnet/minecraft/class_639;method_2950(Ljava/lang/String;)Lnet/minecraft/class_639;
official a
Lgar;a(Ljava/lang/String;)Lgar;
-
isValid
- Mappings:
Namespace Name Mixin selector named isValid
Lnet/minecraft/client/network/ServerAddress;isValid(Ljava/lang/String;)Z
intermediary method_36224
Lnet/minecraft/class_639;method_36224(Ljava/lang/String;)Z
official b
Lgar;b(Ljava/lang/String;)Z
-
portOrDefault
- Mappings:
Namespace Name Mixin selector named portOrDefault
Lnet/minecraft/client/network/ServerAddress;portOrDefault(Ljava/lang/String;)I
intermediary method_2951
Lnet/minecraft/class_639;method_2951(Ljava/lang/String;)I
official c
Lgar;c(Ljava/lang/String;)I
-
toString
-
equals
-
hashCode
public int hashCode()
-