Package net.minecraft.text
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.
An object that can supply character code points
to a visitor, with a style context.
- Mappings:
Namespace Name named net/minecraft/text/OrderedText
intermediary net/minecraft/class_5481
official axs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OrderedText
An empty text that does not call the visitors. -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(CharacterVisitor visitor) static OrderedText
concat
(List<OrderedText> texts) static OrderedText
concat
(OrderedText[] texts) static OrderedText
concat
(OrderedText first, OrderedText second) static OrderedText
empty()
static OrderedText
innerConcat
(List<OrderedText> texts) static OrderedText
innerConcat
(OrderedText text1, OrderedText text2) static CharacterVisitor
map
(CharacterVisitor visitor, Int2IntFunction codePointMapper) static OrderedText
of
(OrderedText text) static OrderedText
static OrderedText
styledBackwardsVisitedString
(String string, Style style) static OrderedText
styledBackwardsVisitedString
(String string, Style style, Int2IntFunction codePointMapper) static OrderedText
styledForwardsVisitedString
(String string, Style style) static OrderedText
styledForwardsVisitedString
(String string, Style style, Int2IntFunction codePointMapper)
-
Field Details
-
EMPTY
An empty text that does not call the visitors.- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/text/OrderedText;EMPTY:Lnet/minecraft/text/OrderedText;
intermediary field_26385
Lnet/minecraft/class_5481;field_26385:Lnet/minecraft/class_5481;
official a
Laxs;a:Laxs;
-
-
Method Details
-
accept
- Mappings:
Namespace Name Mixin selector named accept
Lnet/minecraft/text/OrderedText;accept(Lnet/minecraft/text/CharacterVisitor;)Z
intermediary accept
Lnet/minecraft/class_5481;accept(Lnet/minecraft/class_5224;)Z
official accept
Laxs;accept(Laxt;)Z
-
styled
- Mappings:
Namespace Name Mixin selector named styled
Lnet/minecraft/text/OrderedText;styled(ILnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
intermediary method_30741
Lnet/minecraft/class_5481;method_30741(ILnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
official codepoint
Laxs;codepoint(ILxr;)Laxs;
-
styledForwardsVisitedString
- Mappings:
Namespace Name Mixin selector named styledForwardsVisitedString
Lnet/minecraft/text/OrderedText;styledForwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
intermediary method_30747
Lnet/minecraft/class_5481;method_30747(Ljava/lang/String;Lnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
official forward
Laxs;forward(Ljava/lang/String;Lxr;)Laxs;
-
styledForwardsVisitedString
static OrderedText styledForwardsVisitedString(String string, Style style, Int2IntFunction codePointMapper) - Mappings:
Namespace Name Mixin selector named styledForwardsVisitedString
Lnet/minecraft/text/OrderedText;styledForwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/OrderedText;
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;
official forward
Laxs;forward(Ljava/lang/String;Lxr;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laxs;
-
styledBackwardsVisitedString
- Mappings:
Namespace Name Mixin selector named styledBackwardsVisitedString
Lnet/minecraft/text/OrderedText;styledBackwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;)Lnet/minecraft/text/OrderedText;
intermediary method_34910
Lnet/minecraft/class_5481;method_34910(Ljava/lang/String;Lnet/minecraft/class_2583;)Lnet/minecraft/class_5481;
official backward
Laxs;backward(Ljava/lang/String;Lxr;)Laxs;
-
styledBackwardsVisitedString
static OrderedText styledBackwardsVisitedString(String string, Style style, Int2IntFunction codePointMapper) - Mappings:
Namespace Name Mixin selector named styledBackwardsVisitedString
Lnet/minecraft/text/OrderedText;styledBackwardsVisitedString(Ljava/lang/String;Lnet/minecraft/text/Style;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/OrderedText;
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;
official backward
Laxs;backward(Ljava/lang/String;Lxr;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laxs;
-
map
- Mappings:
Namespace Name Mixin selector named map
Lnet/minecraft/text/OrderedText;map(Lnet/minecraft/text/CharacterVisitor;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/text/CharacterVisitor;
intermediary method_30745
Lnet/minecraft/class_5481;method_30745(Lnet/minecraft/class_5224;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lnet/minecraft/class_5224;
official decorateOutput
Laxs;decorateOutput(Laxt;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laxt;
-
empty
- Mappings:
Namespace Name Mixin selector named empty
Lnet/minecraft/text/OrderedText;empty()Lnet/minecraft/text/OrderedText;
intermediary method_34905
Lnet/minecraft/class_5481;method_34905()Lnet/minecraft/class_5481;
official composite
Laxs;composite()Laxs;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/text/OrderedText;of(Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
intermediary method_34906
Lnet/minecraft/class_5481;method_34906(Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
official composite
Laxs;composite(Laxs;)Laxs;
-
concat
- Mappings:
Namespace Name Mixin selector named concat
Lnet/minecraft/text/OrderedText;concat(Lnet/minecraft/text/OrderedText;Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
intermediary method_30742
Lnet/minecraft/class_5481;method_30742(Lnet/minecraft/class_5481;Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
official composite
Laxs;composite(Laxs;Laxs;)Laxs;
-
concat
- Mappings:
Namespace Name Mixin selector named concat
Lnet/minecraft/text/OrderedText;concat([Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
intermediary method_34909
Lnet/minecraft/class_5481;method_34909([Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
official composite
Laxs;composite([Laxs;)Laxs;
-
concat
- Mappings:
Namespace Name Mixin selector named concat
Lnet/minecraft/text/OrderedText;concat(Ljava/util/List;)Lnet/minecraft/text/OrderedText;
intermediary method_30749
Lnet/minecraft/class_5481;method_30749(Ljava/util/List;)Lnet/minecraft/class_5481;
official composite
Laxs;composite(Ljava/util/List;)Laxs;
-
innerConcat
- Mappings:
Namespace Name Mixin selector named innerConcat
Lnet/minecraft/text/OrderedText;innerConcat(Lnet/minecraft/text/OrderedText;Lnet/minecraft/text/OrderedText;)Lnet/minecraft/text/OrderedText;
intermediary method_30752
Lnet/minecraft/class_5481;method_30752(Lnet/minecraft/class_5481;Lnet/minecraft/class_5481;)Lnet/minecraft/class_5481;
official fromPair
Laxs;fromPair(Laxs;Laxs;)Laxs;
-
innerConcat
- Mappings:
Namespace Name Mixin selector named innerConcat
Lnet/minecraft/text/OrderedText;innerConcat(Ljava/util/List;)Lnet/minecraft/text/OrderedText;
intermediary method_30755
Lnet/minecraft/class_5481;method_30755(Ljava/util/List;)Lnet/minecraft/class_5481;
official fromList
Laxs;fromList(Ljava/util/List;)Laxs;
-