mirror of https://github.com/FabricMC/yarn.git
Rename Text#copy and shallowCopy (#3172)
* Rename Text#copy and shallowCopy * Apply suggestions from code review Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
32a545e7df
commit
2f8ce2e639
|
@ -22,12 +22,12 @@ CLASS net/minecraft/class_2561 net/minecraft/text/Text
|
||||||
COMMENT Returns the style of this text.
|
COMMENT Returns the style of this text.
|
||||||
METHOD method_27655 (ILjava/lang/StringBuilder;Ljava/lang/String;)Ljava/util/Optional;
|
METHOD method_27655 (ILjava/lang/StringBuilder;Ljava/lang/String;)Ljava/util/Optional;
|
||||||
ARG 2 string
|
ARG 2 string
|
||||||
METHOD method_27661 shallowCopy ()Lnet/minecraft/class_5250;
|
METHOD method_27661 copy ()Lnet/minecraft/class_5250;
|
||||||
COMMENT Copies the text itself, the style, and the siblings.
|
COMMENT Copies the text's content, the style, and the siblings.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>A shallow copy is made for the siblings.
|
COMMENT <p>A shallow copy is made for the siblings.
|
||||||
METHOD method_27662 copy ()Lnet/minecraft/class_5250;
|
METHOD method_27662 copyContentOnly ()Lnet/minecraft/class_5250;
|
||||||
COMMENT Copies the text itself, excluding the styles or siblings.
|
COMMENT Copies the text's content, excluding the styles or siblings.
|
||||||
METHOD method_30163 of (Ljava/lang/String;)Lnet/minecraft/class_2561;
|
METHOD method_30163 of (Ljava/lang/String;)Lnet/minecraft/class_2561;
|
||||||
COMMENT Creates a literal text with the given string as content.
|
COMMENT Creates a literal text with the given string as content.
|
||||||
ARG 0 string
|
ARG 0 string
|
||||||
|
|
Loading…
Reference in New Issue