Class BaseText

java.lang.Object
net.minecraft.text.BaseText
All Implemented Interfaces:
Iterable<Text>, Text
Direct Known Subclasses:
LiteralText, ScoreText, SelectorText, TranslatableText

public abstract class BaseText extends Object implements Text
Mappings:
Namespace Name
official eu
intermediary net/minecraft/class_1977
named net/minecraft/text/BaseText
  • Field Details

    • siblings

      protected List<Text> siblings
      Mappings:
      Namespace Name Mixin selector
      official a Leu;a:Ljava/util/List;
      intermediary field_8472 Lnet/minecraft/class_1977;field_8472:Ljava/util/List;
      named siblings Lnet/minecraft/text/BaseText;siblings:Ljava/util/List;
    • style

      private Style style
      Mappings:
      Namespace Name Mixin selector
      official b Leu;b:Lfb;
      intermediary field_8473 Lnet/minecraft/class_1977;field_8473:Lnet/minecraft/class_1986;
      named style Lnet/minecraft/text/BaseText;style:Lnet/minecraft/text/Style;
  • Constructor Details

    • BaseText

      public BaseText()
  • Method Details

    • append

      public Text append(Text text)
      Specified by:
      append in interface Text
      Mappings:
      Namespace Name Mixin selector
      official a Lew;a(Lew;)Lew;
      intermediary method_7467 Lnet/minecraft/class_1982;method_7467(Lnet/minecraft/class_1982;)Lnet/minecraft/class_1982;
      named append Lnet/minecraft/text/Text;append(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
    • getSiblings

      public List<Text> getSiblings()
      Specified by:
      getSiblings in interface Text
      Mappings:
      Namespace Name Mixin selector
      official a Lew;a()Ljava/util/List;
      intermediary method_7466 Lnet/minecraft/class_1982;method_7466()Ljava/util/List;
      named getSiblings Lnet/minecraft/text/Text;getSiblings()Ljava/util/List;
    • append

      public Text append(String text)
      Specified by:
      append in interface Text
      Mappings:
      Namespace Name Mixin selector
      official a Lew;a(Ljava/lang/String;)Lew;
      intermediary method_7469 Lnet/minecraft/class_1982;method_7469(Ljava/lang/String;)Lnet/minecraft/class_1982;
      named append Lnet/minecraft/text/Text;append(Ljava/lang/String;)Lnet/minecraft/text/Text;
    • setStyle

      public Text setStyle(Style style)
      Specified by:
      setStyle in interface Text
      Mappings:
      Namespace Name Mixin selector
      official a Lew;a(Lfb;)Lew;
      intermediary method_7468 Lnet/minecraft/class_1982;method_7468(Lnet/minecraft/class_1986;)Lnet/minecraft/class_1982;
      named setStyle Lnet/minecraft/text/Text;setStyle(Lnet/minecraft/text/Style;)Lnet/minecraft/text/Text;
    • getStyle

      public Style getStyle()
      Specified by:
      getStyle in interface Text
      Mappings:
      Namespace Name Mixin selector
      official b Lew;b()Lfb;
      intermediary method_7470 Lnet/minecraft/class_1982;method_7470()Lnet/minecraft/class_1986;
      named getStyle Lnet/minecraft/text/Text;getStyle()Lnet/minecraft/text/Style;
    • iterator

      public Iterator<Text> iterator()
      Specified by:
      iterator in interface Iterable<Text>
      Mappings:
      Namespace Name Mixin selector
      official iterator Leu;iterator()Ljava/util/Iterator;
      intermediary iterator Lnet/minecraft/class_1977;iterator()Ljava/util/Iterator;
      named iterator Lnet/minecraft/text/BaseText;iterator()Ljava/util/Iterator;
    • getString

      public final String getString()
      Specified by:
      getString in interface Text
      Mappings:
      Namespace Name Mixin selector
      official c Lew;c()Ljava/lang/String;
      intermediary method_7471 Lnet/minecraft/class_1982;method_7471()Ljava/lang/String;
      named getString Lnet/minecraft/text/Text;getString()Ljava/lang/String;
    • asFormattedString

      @Environment(CLIENT) public final String asFormattedString()
      Specified by:
      asFormattedString in interface Text
      Mappings:
      Namespace Name Mixin selector
      official d Lew;d()Ljava/lang/String;
      intermediary method_7472 Lnet/minecraft/class_1982;method_7472()Ljava/lang/String;
      named asFormattedString Lnet/minecraft/text/Text;asFormattedString()Ljava/lang/String;
    • method_7458

      public static Iterator<Text> method_7458(Iterable<Text> iterable)
      Mappings:
      Namespace Name Mixin selector
      official a Leu;a(Ljava/lang/Iterable;)Ljava/util/Iterator;
      intermediary method_7458 Lnet/minecraft/class_1977;method_7458(Ljava/lang/Iterable;)Ljava/util/Iterator;
      named method_7458 Lnet/minecraft/text/BaseText;method_7458(Ljava/lang/Iterable;)Ljava/util/Iterator;
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Leu;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1977;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/text/BaseText;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Leu;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1977;hashCode()I
      named hashCode Lnet/minecraft/text/BaseText;hashCode()I
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Leu;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1977;toString()Ljava/lang/String;
      named toString Lnet/minecraft/text/BaseText;toString()Ljava/lang/String;