Class RealmsText

java.lang.Object
net.minecraft.client.realms.dto.RealmsText

@Environment(CLIENT) public class RealmsText extends Object
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RealmsText
intermediary net/minecraft/class_8206
official fcn
  • Field Details

    • TRANSLATION_KEY_KEY

      private static final String TRANSLATION_KEY_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TRANSLATION_KEY_KEY Lnet/minecraft/client/realms/dto/RealmsText;TRANSLATION_KEY_KEY:Ljava/lang/String;
      intermediary field_43031 Lnet/minecraft/class_8206;field_43031:Ljava/lang/String;
      official a Lfcn;a:Ljava/lang/String;
    • ARGS_KEY

      private static final String ARGS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ARGS_KEY Lnet/minecraft/client/realms/dto/RealmsText;ARGS_KEY:Ljava/lang/String;
      intermediary field_43032 Lnet/minecraft/class_8206;field_43032:Ljava/lang/String;
      official b Lfcn;b:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/client/realms/dto/RealmsText;translationKey:Ljava/lang/String;
      intermediary field_43033 Lnet/minecraft/class_8206;field_43033:Ljava/lang/String;
      official c Lfcn;c:Ljava/lang/String;
    • args

      @Nullable private final @Nullable String[] args
      Mappings:
      Namespace Name Mixin selector
      named args Lnet/minecraft/client/realms/dto/RealmsText;args:[Ljava/lang/String;
      intermediary field_43034 Lnet/minecraft/class_8206;field_43034:[Ljava/lang/String;
      official d Lfcn;d:[Ljava/lang/String;
  • Constructor Details

    • RealmsText

      private RealmsText(String translationKey, @Nullable @Nullable String[] args)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RealmsText;<init>(Ljava/lang/String;[Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8206;<init>(Ljava/lang/String;[Ljava/lang/String;)V
      official <init> Lfcn;<init>(Ljava/lang/String;[Ljava/lang/String;)V
  • Method Details

    • toText

      public Text toText(Text fallback)
      Mappings:
      Namespace Name Mixin selector
      named toText Lnet/minecraft/client/realms/dto/RealmsText;toText(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
      intermediary method_49583 Lnet/minecraft/class_8206;method_49583(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
      official a Lfcn;a(Lwy;)Lwy;
    • toText

      @Nullable public @Nullable Text toText()
      Mappings:
      Namespace Name Mixin selector
      named toText Lnet/minecraft/client/realms/dto/RealmsText;toText()Lnet/minecraft/text/Text;
      intermediary method_54114 Lnet/minecraft/class_8206;method_54114()Lnet/minecraft/class_2561;
      official a Lfcn;a()Lwy;
    • fromJson

      public static RealmsText fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named fromJson Lnet/minecraft/client/realms/dto/RealmsText;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsText;
      intermediary method_49582 Lnet/minecraft/class_8206;method_49582(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_8206;
      official a Lfcn;a(Lcom/google/gson/JsonObject;)Lfcn;
    • toString

      public String toString()
      Overrides:
      toString in class Object