mirror of https://github.com/FabricMC/yarn.git
Miscellaneous Text and TranslatableText mappings (#1637)
* Misc Text and TranslatableText mappings * Fixup: Apply liach's comments
This commit is contained in:
parent
2d5595b39a
commit
0c892b876d
|
@ -42,6 +42,9 @@ CLASS net/minecraft/class_2561 net/minecraft/text/Text
|
||||||
COMMENT <p>A shallow copy is made for the siblings.</p>
|
COMMENT <p>A shallow copy is made for the siblings.</p>
|
||||||
METHOD method_27662 copy ()Lnet/minecraft/class_5250;
|
METHOD method_27662 copy ()Lnet/minecraft/class_5250;
|
||||||
COMMENT Copies the text itself, excluding the styles or siblings.
|
COMMENT Copies the text itself, excluding the styles or siblings.
|
||||||
|
METHOD method_30163 of (Ljava/lang/String;)Lnet/minecraft/class_2561;
|
||||||
|
COMMENT Creates a literal text with the given string as content.
|
||||||
|
ARG 0 string
|
||||||
CLASS class_2562 Serializer
|
CLASS class_2562 Serializer
|
||||||
COMMENT A JSON serializer for {@link Text}.
|
COMMENT A JSON serializer for {@link Text}.
|
||||||
FIELD field_11752 JSON_READER_LINE_START Ljava/lang/reflect/Field;
|
FIELD field_11752 JSON_READER_LINE_START Ljava/lang/reflect/Field;
|
||||||
|
|
|
@ -17,3 +17,5 @@ CLASS net/minecraft/class_2588 net/minecraft/text/TranslatableText
|
||||||
METHOD method_11024 setTranslation (Ljava/lang/String;)V
|
METHOD method_11024 setTranslation (Ljava/lang/String;)V
|
||||||
ARG 1 translation
|
ARG 1 translation
|
||||||
METHOD method_11025 updateTranslations ()V
|
METHOD method_11025 updateTranslations ()V
|
||||||
|
METHOD method_29434 getArg (I)Lnet/minecraft/class_5348;
|
||||||
|
ARG 1 index
|
||||||
|
|
Loading…
Reference in New Issue