类 BaseText

    • 字段详细资料

      • siblings

        protected final List<Text> siblings
        Mappings:
        Namespace Name Mixin selector
        official a Loj;a:Ljava/util/List;
        intermediary field_11729 Lnet/minecraft/class_2554;field_11729:Ljava/util/List;
        named siblings Lnet/minecraft/text/BaseText;siblings:Ljava/util/List;
      • orderedText

        private OrderedText orderedText
        Mappings:
        Namespace Name Mixin selector
        official d Loj;d:Lagj;
        intermediary field_26623 Lnet/minecraft/class_2554;field_26623:Lnet/minecraft/class_5481;
        named orderedText Lnet/minecraft/text/BaseText;orderedText:Lnet/minecraft/text/OrderedText;
      • previousLanguage

        @Nullable
        private @Nullable Language previousLanguage
        Mappings:
        Namespace Name Mixin selector
        official e Loj;e:Lmq;
        intermediary field_26624 Lnet/minecraft/class_2554;field_26624:Lnet/minecraft/class_2477;
        named previousLanguage Lnet/minecraft/text/BaseText;previousLanguage:Lnet/minecraft/util/Language;
      • style

        private Style style
        Mappings:
        Namespace Name Mixin selector
        official f Loj;f:Lox;
        intermediary field_11730 Lnet/minecraft/class_2554;field_11730:Lnet/minecraft/class_2583;
        named style Lnet/minecraft/text/BaseText;style:Lnet/minecraft/text/Style;
    • 构造器详细资料

      • BaseText

        public BaseText()
    • 方法详细资料

      • append

        public MutableText append​(Text text)
        Appends a text to this text's siblings.
        指定者:
        append 在接口中 MutableText
        参数:
        text - the sibling
        Mappings:
        Namespace Name Mixin selector
        official a Lot;a(Lon;)Lot;
        intermediary method_10852 Lnet/minecraft/class_5250;method_10852(Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;
        named append Lnet/minecraft/text/MutableText;append(Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;
      • asString

        public String asString()
        Returns the string representation of this text itself, excluding siblings.
        指定者:
        asString 在接口中 Text
        Mappings:
        Namespace Name Mixin selector
        official a Lon;a()Ljava/lang/String;
        intermediary method_10851 Lnet/minecraft/class_2561;method_10851()Ljava/lang/String;
        named asString Lnet/minecraft/text/Text;asString()Ljava/lang/String;
      • getSiblings

        public List<Text> getSiblings()
        Returns the siblings of this text.
        指定者:
        getSiblings 在接口中 Text
        Mappings:
        Namespace Name Mixin selector
        official b Lon;b()Ljava/util/List;
        intermediary method_10855 Lnet/minecraft/class_2561;method_10855()Ljava/util/List;
        named getSiblings Lnet/minecraft/text/Text;getSiblings()Ljava/util/List;
      • setStyle

        public MutableText setStyle​(Style style)
        Sets the style of this text.
        指定者:
        setStyle 在接口中 MutableText
        Mappings:
        Namespace Name Mixin selector
        official a Lot;a(Lox;)Lot;
        intermediary method_10862 Lnet/minecraft/class_5250;method_10862(Lnet/minecraft/class_2583;)Lnet/minecraft/class_5250;
        named setStyle Lnet/minecraft/text/MutableText;setStyle(Lnet/minecraft/text/Style;)Lnet/minecraft/text/MutableText;
      • getStyle

        public Style getStyle()
        Returns the style of this text.
        指定者:
        getStyle 在接口中 Text
        Mappings:
        Namespace Name Mixin selector
        official c Lon;c()Lox;
        intermediary method_10866 Lnet/minecraft/class_2561;method_10866()Lnet/minecraft/class_2583;
        named getStyle Lnet/minecraft/text/Text;getStyle()Lnet/minecraft/text/Style;
      • copy

        public abstract BaseText copy()
        从接口复制的说明: Text
        Copies the text itself, excluding the styles or siblings.
        指定者:
        copy 在接口中 Text
        Mappings:
        Namespace Name Mixin selector
        official d Loj;d()Loj;
        intermediary method_27653 Lnet/minecraft/class_2554;method_27653()Lnet/minecraft/class_2554;
        named copy Lnet/minecraft/text/BaseText;copy()Lnet/minecraft/text/BaseText;
      • shallowCopy

        public final MutableText shallowCopy()
        Copies the text itself, the style, and the siblings.

        A shallow copy is made for the siblings.

        指定者:
        shallowCopy 在接口中 Text
        Mappings:
        Namespace Name Mixin selector
        official e Lon;e()Lot;
        intermediary method_27661 Lnet/minecraft/class_2561;method_27661()Lnet/minecraft/class_5250;
        named shallowCopy Lnet/minecraft/text/Text;shallowCopy()Lnet/minecraft/text/MutableText;
      • asOrderedText

        public OrderedText asOrderedText()
        指定者:
        asOrderedText 在接口中 Text
        Mappings:
        Namespace Name Mixin selector
        official f Lon;f()Lagj;
        intermediary method_30937 Lnet/minecraft/class_2561;method_30937()Lnet/minecraft/class_5481;
        named asOrderedText Lnet/minecraft/text/Text;asOrderedText()Lnet/minecraft/text/OrderedText;
      • equals

        public boolean equals​(Object obj)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Loj;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2554;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/text/BaseText;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Loj;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2554;hashCode()I
        named hashCode Lnet/minecraft/text/BaseText;hashCode()I
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Loj;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2554;toString()Ljava/lang/String;
        named toString Lnet/minecraft/text/BaseText;toString()Ljava/lang/String;