Class TextReorderingProcessor

java.lang.Object
net.minecraft.text.TextReorderingProcessor

public class TextReorderingProcessor extends Object
Mappings:
Namespace Name
named net/minecraft/text/TextReorderingProcessor
intermediary net/minecraft/class_5492
official yt
  • Field Details

    • string

      private final String string
      Mappings:
      Namespace Name Mixin selector
      named string Lnet/minecraft/text/TextReorderingProcessor;string:Ljava/lang/String;
      intermediary field_26626 Lnet/minecraft/class_5492;field_26626:Ljava/lang/String;
      official a Lyt;a:Ljava/lang/String;
    • styles

      private final List<Style> styles
      Mappings:
      Namespace Name Mixin selector
      named styles Lnet/minecraft/text/TextReorderingProcessor;styles:Ljava/util/List;
      intermediary field_26627 Lnet/minecraft/class_5492;field_26627:Ljava/util/List;
      official b Lyt;b:Ljava/util/List;
    • reverser

      private final Int2IntFunction reverser
      Mappings:
      Namespace Name Mixin selector
      named reverser Lnet/minecraft/text/TextReorderingProcessor;reverser:Lit/unimi/dsi/fastutil/ints/Int2IntFunction;
      intermediary field_26628 Lnet/minecraft/class_5492;field_26628:Lit/unimi/dsi/fastutil/ints/Int2IntFunction;
      official c Lyt;c:Lit/unimi/dsi/fastutil/ints/Int2IntFunction;
  • Constructor Details

    • TextReorderingProcessor

      private TextReorderingProcessor(String string, List<Style> styles, Int2IntFunction reverser)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/text/TextReorderingProcessor;<init>(Ljava/lang/String;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)V
      intermediary <init> Lnet/minecraft/class_5492;<init>(Ljava/lang/String;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)V
      official <init> Lyt;<init>(Ljava/lang/String;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)V
  • Method Details

    • getString

      public String getString()
      Mappings:
      Namespace Name Mixin selector
      named getString Lnet/minecraft/text/TextReorderingProcessor;getString()Ljava/lang/String;
      intermediary method_30939 Lnet/minecraft/class_5492;method_30939()Ljava/lang/String;
      official a Lyt;a()Ljava/lang/String;
    • process

      public List<OrderedText> process(int start, int length, boolean reverse)
      Mappings:
      Namespace Name Mixin selector
      named process Lnet/minecraft/text/TextReorderingProcessor;process(IIZ)Ljava/util/List;
      intermediary method_30940 Lnet/minecraft/class_5492;method_30940(IIZ)Ljava/util/List;
      official a Lyt;a(IIZ)Ljava/util/List;
    • create

      public static TextReorderingProcessor create(StringVisitable visitable)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/text/TextReorderingProcessor;create(Lnet/minecraft/text/StringVisitable;)Lnet/minecraft/text/TextReorderingProcessor;
      intermediary method_36144 Lnet/minecraft/class_5492;method_36144(Lnet/minecraft/class_5348;)Lnet/minecraft/class_5492;
      official a Lyt;a(Lya;)Lyt;
    • create

      public static TextReorderingProcessor create(StringVisitable visitable, Int2IntFunction reverser, UnaryOperator<String> shaper)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/text/TextReorderingProcessor;create(Lnet/minecraft/text/StringVisitable;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lnet/minecraft/text/TextReorderingProcessor;
      intermediary method_30943 Lnet/minecraft/class_5492;method_30943(Lnet/minecraft/class_5348;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lnet/minecraft/class_5492;
      official a Lyt;a(Lya;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lyt;