Interface OrderedText

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface OrderedText
An object that can supply character code points to a visitor, with a style context.
Mappings:
Namespace Name
official afs
intermediary net/minecraft/class_5481
named net/minecraft/text/OrderedText
  • Field Details

    • EMPTY

      static final OrderedText EMPTY
      An empty text that does not call the visitors.
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a:Lafs;
      intermediary field_26385 Lnet/minecraft/class_5481;field_26385:Lnet/minecraft/class_5481;
      named EMPTY Lnet/minecraft/text/OrderedText;EMPTY:Lnet/minecraft/text/OrderedText;
  • Method Details

    • accept

      @Environment(CLIENT) boolean accept​(CharacterVisitor visitor)
      Mappings:
      Namespace Name Mixin selector
      official accept Lafs;accept(Laft;)Z
      intermediary accept Lnet/minecraft/class_5481;accept(Lnet/minecraft/class_5224;)Z
      named accept Lnet/minecraft/text/OrderedText;accept(Lnet/minecraft/text/CharacterVisitor;)Z
    • styled

      @Environment(CLIENT) static OrderedText styled​(int codePoint, Style style)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(ILos;)Lafs;
      intermediary method_30741 Lnet/minecraft/class_5481;method_30741(ILnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
      named styled Lnet/minecraft/text/OrderedText;styled(ILnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
    • styledString

      @Environment(CLIENT) static OrderedText styledString​(String string, Style style)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Ljava/lang/String;Los;)Lafs;
      intermediary method_30747 Lnet/minecraft/class_5481;method_30747(Ljava/lang/String;Lnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
      named styledString Lnet/minecraft/text/OrderedText;styledString(Ljava/lang/String;Lnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
    • styledStringMapped

      @Environment(CLIENT) static OrderedText styledStringMapped​(String string, Style style, Int2IntFunction codePointMapper)
      Mappings:
      Namespace Name Mixin selector
      official b Lafs;b(Ljava/lang/String;Los;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lafs;
      intermediary method_30754 Lnet/minecraft/class_5481;method_30754(Ljava/lang/String;Lnet/minecraft/class_2583;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/class_5481;
      named styledStringMapped Lnet/minecraft/text/OrderedText;styledStringMapped(Ljava/lang/String;Lnet/minecraft/text/Style;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/OrderedText;
    • map

      @Environment(CLIENT) static CharacterVisitor map​(CharacterVisitor visitor, Int2IntFunction codePointMapper)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Laft;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laft;
      intermediary method_30745 Lnet/minecraft/class_5481;method_30745(Lnet/minecraft/class_5224;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/class_5224;
      named map Lnet/minecraft/text/OrderedText;map(Lnet/minecraft/text/CharacterVisitor;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/CharacterVisitor;
    • concat

      @Environment(CLIENT) static OrderedText concat​(OrderedText first, OrderedText second)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Lafs;Lafs;)Lafs;
      intermediary method_30742 Lnet/minecraft/class_5481;method_30742(Lnet/minecraft/class_5481;Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
      named concat Lnet/minecraft/text/OrderedText;concat(Lnet/minecraft/text/OrderedText;Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
    • concat

      @Environment(CLIENT) static OrderedText concat​(List<OrderedText> texts)
      Mappings:
      Namespace Name Mixin selector
      official a Lafs;a(Ljava/util/List;)Lafs;
      intermediary method_30749 Lnet/minecraft/class_5481;method_30749(Ljava/util/List;)Lnet/minecraft/class_5481;
      named concat Lnet/minecraft/text/OrderedText;concat(Ljava/util/List;)Lnet/minecraft/text/OrderedText;
    • innerConcat

      @Environment(CLIENT) static OrderedText innerConcat​(OrderedText text1, OrderedText text2)
      Mappings:
      Namespace Name Mixin selector
      official b Lafs;b(Lafs;Lafs;)Lafs;
      intermediary method_30752 Lnet/minecraft/class_5481;method_30752(Lnet/minecraft/class_5481;Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
      named innerConcat Lnet/minecraft/text/OrderedText;innerConcat(Lnet/minecraft/text/OrderedText;Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
    • innerConcat

      @Environment(CLIENT) static OrderedText innerConcat​(List<OrderedText> texts)
      Mappings:
      Namespace Name Mixin selector
      official b Lafs;b(Ljava/util/List;)Lafs;
      intermediary method_30755 Lnet/minecraft/class_5481;method_30755(Ljava/util/List;)Lnet/minecraft/class_5481;
      named innerConcat Lnet/minecraft/text/OrderedText;innerConcat(Ljava/util/List;)Lnet/minecraft/text/OrderedText;