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 official aif
intermediary net/minecraft/class_5481
named net/minecraft/text/OrderedText
-
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 official a
Laif;a:Laif;
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
- Mappings:
Namespace Name Mixin selector official accept
Laif;accept(Laig;)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
- Mappings:
Namespace Name Mixin selector official codepoint
Laif;codepoint(ILqd;)Laif;
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
- Mappings:
Namespace Name Mixin selector official forward
Laif;forward(Ljava/lang/String;Lqd;)Laif;
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
Laif;forward(Ljava/lang/String;Lqd;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laif;
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
- Mappings:
Namespace Name Mixin selector official backward
Laif;backward(Ljava/lang/String;Lqd;)Laif;
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
Laif;backward(Ljava/lang/String;Lqd;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laif;
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
- Mappings:
Namespace Name Mixin selector official decorateOutput
Laif;decorateOutput(Laig;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laig;
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
- Mappings:
Namespace Name Mixin selector official composite
Laif;composite()Laif;
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
- Mappings:
Namespace Name Mixin selector official composite
Laif;composite(Laif;)Laif;
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
- Mappings:
Namespace Name Mixin selector official composite
Laif;composite(Laif;Laif;)Laif;
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
- Mappings:
Namespace Name Mixin selector official composite
Laif;composite([Laif;)Laif;
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
- Mappings:
Namespace Name Mixin selector official composite
Laif;composite(Ljava/util/List;)Laif;
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
- Mappings:
Namespace Name Mixin selector official fromPair
Laif;fromPair(Laif;Laif;)Laif;
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
- Mappings:
Namespace Name Mixin selector official fromList
Laif;fromList(Ljava/util/List;)Laif;
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;
-