java.lang.Object
net.minecraft.client.resource.language.I18n

@Environment(CLIENT) public class I18n extends Object
Mappings:
Namespace Name
named net/minecraft/client/resource/language/I18n
intermediary net/minecraft/class_1074
official gqw
  • Field Details

    • language

      private static volatile Language language
      Mappings:
      Namespace Name Mixin selector
      named language Lnet/minecraft/client/resource/language/I18n;language:Lnet/minecraft/util/Language;
      intermediary field_25290 Lnet/minecraft/class_1074;field_25290:Lnet/minecraft/class_2477;
      official a Lgqw;a:Lts;
  • Constructor Details

    • I18n

      private I18n()
  • Method Details

    • setLanguage

      static void setLanguage(Language language)
      Mappings:
      Namespace Name Mixin selector
      named setLanguage Lnet/minecraft/client/resource/language/I18n;setLanguage(Lnet/minecraft/util/Language;)V
      intermediary method_29391 Lnet/minecraft/class_1074;method_29391(Lnet/minecraft/class_2477;)V
      official a Lgqw;a(Lts;)V
    • translate

      public static String translate(String key, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      named translate Lnet/minecraft/client/resource/language/I18n;translate(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
      intermediary method_4662 Lnet/minecraft/class_1074;method_4662(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
      official a Lgqw;a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    • hasTranslation

      public static boolean hasTranslation(String key)
      Mappings:
      Namespace Name Mixin selector
      named hasTranslation Lnet/minecraft/client/resource/language/I18n;hasTranslation(Ljava/lang/String;)Z
      intermediary method_4663 Lnet/minecraft/class_1074;method_4663(Ljava/lang/String;)Z
      official a Lgqw;a(Ljava/lang/String;)Z