Package net.minecraft.client.multiplayer
Class ServerAddress
- java.lang.Object
-
- net.minecraft.client.multiplayer.ServerAddress
-
public class ServerAddress extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ServerAddress(java.lang.String p_i1192_1_, int p_i1192_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHost()
int
getPort()
private static com.mojang.datafixers.util.Pair<java.lang.String,java.lang.Integer>
lookupSrv(java.lang.String p_241677_0_)
private static int
parseInt(java.lang.String p_78862_0_, int p_78862_1_)
static ServerAddress
parseString(java.lang.String p_78860_0_)
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
-
getPort
public int getPort()
-
parseString
public static ServerAddress parseString(java.lang.String p_78860_0_)
-
lookupSrv
private static com.mojang.datafixers.util.Pair<java.lang.String,java.lang.Integer> lookupSrv(java.lang.String p_241677_0_)
-
parseInt
private static int parseInt(java.lang.String p_78862_0_, int p_78862_1_)
-
-