Class ServerAddress

java.lang.Object
net.minecraft.client.multiplayer.ServerAddress

public class ServerAddress extends Object
  • Field Details

    • host

      private final String host
    • port

      private final int port
  • Constructor Details

    • ServerAddress

      private ServerAddress(String p_i1192_1_, int p_i1192_2_)
  • Method Details

    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • parseString

      public static ServerAddress parseString(String p_78860_0_)
    • lookupSrv

      private static com.mojang.datafixers.util.Pair<String,Integer> lookupSrv(String p_241677_0_)
    • parseInt

      private static int parseInt(String p_78862_0_, int p_78862_1_)