Class RealmsText

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

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

    • TRANSLATION_KEY_KEY

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

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

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

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

    • RealmsText

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

    • toText

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

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