Package net.minecraft.client.network
Class ServerAddress
java.lang.Object
net.minecraft.client.network.ServerAddress
- Mappings:
Namespace Name official fki
intermediary net/minecraft/class_639
named net/minecraft/client/network/ServerAddress
-
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 official a
Lfki;a:Lorg/slf4j/Logger;
intermediary field_33416
Lnet/minecraft/class_639;field_33416:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/network/ServerAddress;LOGGER:Lorg/slf4j/Logger;
-
INVALID
- Mappings:
Namespace Name Mixin selector official c
Lfki;c:Lfki;
intermediary field_33418
Lnet/minecraft/class_639;field_33418:Lnet/minecraft/class_639;
named INVALID
Lnet/minecraft/client/network/ServerAddress;INVALID:Lnet/minecraft/client/network/ServerAddress;
-
hostAndPort
- Mappings:
Namespace Name Mixin selector official b
Lfki;b:Lcom/google/common/net/HostAndPort;
intermediary field_33417
Lnet/minecraft/class_639;field_33417:Lcom/google/common/net/HostAndPort;
named hostAndPort
Lnet/minecraft/client/network/ServerAddress;hostAndPort:Lcom/google/common/net/HostAndPort;
-
-
Constructor Details
-
ServerAddress
- Mappings:
Namespace Name Mixin selector official <init>
Lfki;<init>(Ljava/lang/String;I)V
intermediary <init>
Lnet/minecraft/class_639;<init>(Ljava/lang/String;I)V
named <init>
Lnet/minecraft/client/network/ServerAddress;<init>(Ljava/lang/String;I)V
-
ServerAddress
- Mappings:
Namespace Name Mixin selector official <init>
Lfki;<init>(Lcom/google/common/net/HostAndPort;)V
intermediary <init>
Lnet/minecraft/class_639;<init>(Lcom/google/common/net/HostAndPort;)V
named <init>
Lnet/minecraft/client/network/ServerAddress;<init>(Lcom/google/common/net/HostAndPort;)V
-
-
Method Details
-
getAddress
- Mappings:
Namespace Name Mixin selector official a
Lfki;a()Ljava/lang/String;
intermediary method_2952
Lnet/minecraft/class_639;method_2952()Ljava/lang/String;
named getAddress
Lnet/minecraft/client/network/ServerAddress;getAddress()Ljava/lang/String;
-
getPort
public int getPort()- Mappings:
Namespace Name Mixin selector official b
Lfki;b()I
intermediary method_2954
Lnet/minecraft/class_639;method_2954()I
named getPort
Lnet/minecraft/client/network/ServerAddress;getPort()I
-
parse
- Mappings:
Namespace Name Mixin selector official a
Lfki;a(Ljava/lang/String;)Lfki;
intermediary method_2950
Lnet/minecraft/class_639;method_2950(Ljava/lang/String;)Lnet/minecraft/class_639;
named parse
Lnet/minecraft/client/network/ServerAddress;parse(Ljava/lang/String;)Lnet/minecraft/client/network/ServerAddress;
-
isValid
- Mappings:
Namespace Name Mixin selector official b
Lfki;b(Ljava/lang/String;)Z
intermediary method_36224
Lnet/minecraft/class_639;method_36224(Ljava/lang/String;)Z
named isValid
Lnet/minecraft/client/network/ServerAddress;isValid(Ljava/lang/String;)Z
-
portOrDefault
- Mappings:
Namespace Name Mixin selector official c
Lfki;c(Ljava/lang/String;)I
intermediary method_2951
Lnet/minecraft/class_639;method_2951(Ljava/lang/String;)I
named portOrDefault
Lnet/minecraft/client/network/ServerAddress;portOrDefault(Ljava/lang/String;)I
-
toString
-
equals
-
hashCode
public int hashCode()
-