Class RealmsServerAddress

java.lang.Object
net.minecraft.client.realms.RealmsServerAddress

@Environment(CLIENT)
public class RealmsServerAddress
extends Object
Mappings:
Namespace Name
official ewi
intermediary net/minecraft/class_4906
named net/minecraft/client/realms/RealmsServerAddress
  • Field Details

    • host

      private final String host
      Mappings:
      Namespace Name Mixin selector
      official a Lewi;a:Ljava/lang/String;
      intermediary field_22823 Lnet/minecraft/class_4906;field_22823:Ljava/lang/String;
      named host Lnet/minecraft/client/realms/RealmsServerAddress;host:Ljava/lang/String;
    • port

      private final int port
      Mappings:
      Namespace Name Mixin selector
      official b Lewi;b:I
      intermediary field_22824 Lnet/minecraft/class_4906;field_22824:I
      named port Lnet/minecraft/client/realms/RealmsServerAddress;port:I
  • Constructor Details

    • RealmsServerAddress

      protected RealmsServerAddress​(String host, int port)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lewi;<init>(Ljava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_4906;<init>(Ljava/lang/String;I)V
      named <init> Lnet/minecraft/client/realms/RealmsServerAddress;<init>(Ljava/lang/String;I)V
  • Method Details

    • getHost

      public String getHost()
      Mappings:
      Namespace Name Mixin selector
      official a Lewi;a()Ljava/lang/String;
      intermediary method_25496 Lnet/minecraft/class_4906;method_25496()Ljava/lang/String;
      named getHost Lnet/minecraft/client/realms/RealmsServerAddress;getHost()Ljava/lang/String;
    • getPort

      public int getPort()
      Mappings:
      Namespace Name Mixin selector
      official b Lewi;b()I
      intermediary method_25498 Lnet/minecraft/class_4906;method_25498()I
      named getPort Lnet/minecraft/client/realms/RealmsServerAddress;getPort()I
    • parseString

      public static RealmsServerAddress parseString​(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lewi;a(Ljava/lang/String;)Lewi;
      intermediary method_25497 Lnet/minecraft/class_4906;method_25497(Ljava/lang/String;)Lnet/minecraft/class_4906;
      named parseString Lnet/minecraft/client/realms/RealmsServerAddress;parseString(Ljava/lang/String;)Lnet/minecraft/client/realms/RealmsServerAddress;