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 fzo
-
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
Lfzo;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
Lfzo;c:Lfzo;
-
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
Lfzo;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>
Lfzo;<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>
Lfzo;<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
Lfzo;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
Lfzo;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
Lfzo;a(Ljava/lang/String;)Lfzo;
-
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
Lfzo;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
Lfzo;c(Ljava/lang/String;)I
-
toString
-
equals
-
hashCode
public int hashCode()
-