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 ano
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 Lano;a:Lano;
      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

      boolean accept(CharacterVisitor visitor)
      Mappings:
      Namespace Name Mixin selector
      official accept Lano;accept(Lanp;)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

      static OrderedText styled(int codePoint, Style style)
      Mappings:
      Namespace Name Mixin selector
      official codepoint Lano;codepoint(ILto;)Lano;
      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;
    • styledForwardsVisitedString

      static OrderedText styledForwardsVisitedString(String string, Style style)
      Mappings:
      Namespace Name Mixin selector
      official forward Lano;forward(Ljava/lang/String;Lto;)Lano;
      intermediary method_30747 Lnet/minecraft/class_5481;method_30747(Ljava/lang/String;Lnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
      named styledForwardsVisitedString Lnet/minecraft/text/OrderedText;styledForwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
    • styledForwardsVisitedString

      static OrderedText styledForwardsVisitedString(String string, Style style, Int2IntFunction codePointMapper)
      Mappings:
      Namespace Name Mixin selector
      official forward Lano;forward(Ljava/lang/String;Lto;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lano;
      intermediary method_34908 Lnet/minecraft/class_5481;method_34908(Ljava/lang/String;Lnet/minecraft/class_2583;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/class_5481;
      named styledForwardsVisitedString Lnet/minecraft/text/OrderedText;styledForwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/OrderedText;
    • styledBackwardsVisitedString

      static OrderedText styledBackwardsVisitedString(String string, Style style)
      Mappings:
      Namespace Name Mixin selector
      official backward Lano;backward(Ljava/lang/String;Lto;)Lano;
      intermediary method_34910 Lnet/minecraft/class_5481;method_34910(Ljava/lang/String;Lnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
      named styledBackwardsVisitedString Lnet/minecraft/text/OrderedText;styledBackwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
    • styledBackwardsVisitedString

      static OrderedText styledBackwardsVisitedString(String string, Style style, Int2IntFunction codePointMapper)
      Mappings:
      Namespace Name Mixin selector
      official backward Lano;backward(Ljava/lang/String;Lto;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lano;
      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 styledBackwardsVisitedString Lnet/minecraft/text/OrderedText;styledBackwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/OrderedText;
    • map

      static CharacterVisitor map(CharacterVisitor visitor, Int2IntFunction codePointMapper)
      Mappings:
      Namespace Name Mixin selector
      official decorateOutput Lano;decorateOutput(Lanp;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lanp;
      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;
    • empty

      static OrderedText empty()
      Mappings:
      Namespace Name Mixin selector
      official composite Lano;composite()Lano;
      intermediary method_34905 Lnet/minecraft/class_5481;method_34905()Lnet/minecraft/class_5481;
      named empty Lnet/minecraft/text/OrderedText;empty()Lnet/minecraft/text/OrderedText;
    • of

      static OrderedText of(OrderedText text)
      Mappings:
      Namespace Name Mixin selector
      official composite Lano;composite(Lano;)Lano;
      intermediary method_34906 Lnet/minecraft/class_5481;method_34906(Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
      named of Lnet/minecraft/text/OrderedText;of(Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
    • concat

      static OrderedText concat(OrderedText first, OrderedText second)
      Mappings:
      Namespace Name Mixin selector
      official composite Lano;composite(Lano;Lano;)Lano;
      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

      static OrderedText concat(OrderedText[] texts)
      Mappings:
      Namespace Name Mixin selector
      official composite Lano;composite([Lano;)Lano;
      intermediary method_34909 Lnet/minecraft/class_5481;method_34909([Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
      named concat Lnet/minecraft/text/OrderedText;concat([Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
    • concat

      static OrderedText concat(List<OrderedText> texts)
      Mappings:
      Namespace Name Mixin selector
      official composite Lano;composite(Ljava/util/List;)Lano;
      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

      static OrderedText innerConcat(OrderedText text1, OrderedText text2)
      Mappings:
      Namespace Name Mixin selector
      official fromPair Lano;fromPair(Lano;Lano;)Lano;
      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

      static OrderedText innerConcat(List<OrderedText> texts)
      Mappings:
      Namespace Name Mixin selector
      official fromList Lano;fromList(Ljava/util/List;)Lano;
      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;