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

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

    • language

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

    • I18n

      private I18n()
  • Method Details

    • setLanguage

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

      public static String translate(String key, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      official a Leyg;a(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;
      named translate Lnet/minecraft/client/resource/language/I18n;translate(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    • hasTranslation

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