Class TextReorderingProcessor

java.lang.Object
net.minecraft.client.resource.language.TextReorderingProcessor

public class TextReorderingProcessor extends Object
Mappings:
Namespace Name
official pd
intermediary net/minecraft/class_5492
named net/minecraft/client/resource/language/TextReorderingProcessor
  • Field Details

    • string

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

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

      private final Int2IntFunction reverser
      Mappings:
      Namespace Name Mixin selector
      official c Lpd;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/client/resource/language/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> Lpd;<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/client/resource/language/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 Lpd;a()Ljava/lang/String;
      intermediary method_30939 Lnet/minecraft/class_5492;method_30939()Ljava/lang/String;
      named getString Lnet/minecraft/client/resource/language/TextReorderingProcessor;getString()Ljava/lang/String;
    • process

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

      public static TextReorderingProcessor create(StringVisitable visitable)
      Mappings:
      Namespace Name Mixin selector
      official a Lpd;a(Lov;)Lpd;
      intermediary method_36144 Lnet/minecraft/class_5492;method_36144(Lnet/minecraft/class_5348;)Lnet/minecraft/class_5492;
      named create Lnet/minecraft/client/resource/language/TextReorderingProcessor;create(Lnet/minecraft/text/StringVisitable;)Lnet/minecraft/client/resource/language/TextReorderingProcessor;
    • create

      public static TextReorderingProcessor create(StringVisitable visitable, Int2IntFunction reverser, UnaryOperator<String> unaryOperator)
      Mappings:
      Namespace Name Mixin selector
      official a Lpd;a(Lov;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lpd;
      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/client/resource/language/TextReorderingProcessor;create(Lnet/minecraft/text/StringVisitable;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lnet/minecraft/client/resource/language/TextReorderingProcessor;