Package net.minecraft.text
Class TranslatableText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.TranslatableText
- Mappings:
Namespace Name official fiintermediary net/minecraft/class_1990named net/minecraft/text/TranslatableText
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.text.Text
Text.Serializer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.text.BaseText
append, append, asFormattedString, getSiblings, getString, getStyle, method_7458Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
ARG_FORMAT
- Mappings:
Namespace Name Mixin selector official cLfi;c:Ljava/util/regex/Pattern;intermediary field_8507Lnet/minecraft/class_1990;field_8507:Ljava/util/regex/Pattern;named ARG_FORMATLnet/minecraft/text/TranslatableText;ARG_FORMAT:Ljava/util/regex/Pattern;
-
key
- Mappings:
Namespace Name Mixin selector official dLfi;d:Ljava/lang/String;intermediary field_8508Lnet/minecraft/class_1990;field_8508:Ljava/lang/String;named keyLnet/minecraft/text/TranslatableText;key:Ljava/lang/String;
-
args
- Mappings:
Namespace Name Mixin selector official eLfi;e:[Ljava/lang/Object;intermediary field_8509Lnet/minecraft/class_1990;field_8509:[Ljava/lang/Object;named argsLnet/minecraft/text/TranslatableText;args:[Ljava/lang/Object;
-
lock
- Mappings:
Namespace Name Mixin selector official fLfi;f:Ljava/lang/Object;intermediary field_8510Lnet/minecraft/class_1990;field_8510:Ljava/lang/Object;named lockLnet/minecraft/text/TranslatableText;lock:Ljava/lang/Object;
-
languageReloadTimestamp
private long languageReloadTimestamp- Mappings:
Namespace Name Mixin selector official gLfi;g:Jintermediary field_8511Lnet/minecraft/class_1990;field_8511:Jnamed languageReloadTimestampLnet/minecraft/text/TranslatableText;languageReloadTimestamp:J
-
translations
- Mappings:
Namespace Name Mixin selector official bLfi;b:Ljava/util/List;intermediary field_8506Lnet/minecraft/class_1990;field_8506:Ljava/util/List;named translationsLnet/minecraft/text/TranslatableText;translations:Ljava/util/List;
-
-
Constructor Details
-
TranslatableText
- Mappings:
Namespace Name Mixin selector official <init>Lfi;<init>(Ljava/lang/String;[Ljava/lang/Object;)Vintermediary <init>Lnet/minecraft/class_1990;<init>(Ljava/lang/String;[Ljava/lang/Object;)Vnamed <init>Lnet/minecraft/text/TranslatableText;<init>(Ljava/lang/String;[Ljava/lang/Object;)V
-
-
Method Details
-
updateTranslations
void updateTranslations()- Mappings:
Namespace Name Mixin selector official gLfi;g()Vintermediary method_7529Lnet/minecraft/class_1990;method_7529()Vnamed updateTranslationsLnet/minecraft/text/TranslatableText;updateTranslations()V
-
setTranslation
- Mappings:
Namespace Name Mixin selector official bLfi;b(Ljava/lang/String;)Vintermediary method_7528Lnet/minecraft/class_1990;method_7528(Ljava/lang/String;)Vnamed setTranslationLnet/minecraft/text/TranslatableText;setTranslation(Ljava/lang/String;)V
-
getArg
- Mappings:
Namespace Name Mixin selector official aLfi;a(I)Lfb;intermediary method_7527Lnet/minecraft/class_1990;method_7527(I)Lnet/minecraft/class_1982;named getArgLnet/minecraft/text/TranslatableText;getArg(I)Lnet/minecraft/text/Text;
-
setStyle
- Specified by:
setStylein interfaceText- Overrides:
setStylein classBaseText- Mappings:
Namespace Name Mixin selector official aLfb;a(Lfg;)Lfb;intermediary method_7468Lnet/minecraft/class_1982;method_7468(Lnet/minecraft/class_1986;)Lnet/minecraft/class_1982;named setStyleLnet/minecraft/text/Text;setStyle(Lnet/minecraft/text/Style;)Lnet/minecraft/text/Text;
-
iterator
- Specified by:
iteratorin interfaceIterable<Text>- Overrides:
iteratorin classBaseText- Mappings:
Namespace Name Mixin selector official iteratorLez;iterator()Ljava/util/Iterator;intermediary iteratorLnet/minecraft/class_1977;iterator()Ljava/util/Iterator;named iteratorLnet/minecraft/text/BaseText;iterator()Ljava/util/Iterator;
-
asString
- Mappings:
Namespace Name Mixin selector official eLfb;e()Ljava/lang/String;intermediary method_7473Lnet/minecraft/class_1982;method_7473()Ljava/lang/String;named asStringLnet/minecraft/text/Text;asString()Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official hLfi;h()Lfi;intermediary method_7530Lnet/minecraft/class_1990;method_7530()Lnet/minecraft/class_1990;named copyLnet/minecraft/text/TranslatableText;copy()Lnet/minecraft/text/TranslatableText;
-
equals
-
hashCode
public int hashCode() -
toString
-
getKey
- Mappings:
Namespace Name Mixin selector official iLfi;i()Ljava/lang/String;intermediary method_7531Lnet/minecraft/class_1990;method_7531()Ljava/lang/String;named getKeyLnet/minecraft/text/TranslatableText;getKey()Ljava/lang/String;
-
getArgs
- Mappings:
Namespace Name Mixin selector official jLfi;j()[Ljava/lang/Object;intermediary method_7532Lnet/minecraft/class_1990;method_7532()[Ljava/lang/Object;named getArgsLnet/minecraft/text/TranslatableText;getArgs()[Ljava/lang/Object;
-