Class TextReorderingProcessor

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

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

    • string

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

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

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

    • TextReorderingProcessor

      private TextReorderingProcessor(String string, List<Style> styles, Int2IntFunction reverser)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lui;<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
      named <init> Lnet/minecraft/text/TextReorderingProcessor;<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
      official a Lui;a()Ljava/lang/String;
      intermediary method_30939 Lnet/minecraft/class_5492;method_30939()Ljava/lang/String;
      named getString Lnet/minecraft/text/TextReorderingProcessor;getString()Ljava/lang/String;
    • process

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

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

      public static TextReorderingProcessor create(StringVisitable visitable, Int2IntFunction reverser, UnaryOperator<String> shaper)
      Mappings:
      Namespace Name Mixin selector
      official a Lui;a(Ltp;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lui;
      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;
      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;