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 aim
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
Laim;a:Laim;
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
Laim;accept(Lain;)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
Laim;codepoint(ILqj;)Laim;
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
Laim;forward(Ljava/lang/String;Lqj;)Laim;
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
Laim;forward(Ljava/lang/String;Lqj;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laim;
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
Laim;backward(Ljava/lang/String;Lqj;)Laim;
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
Laim;backward(Ljava/lang/String;Lqj;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Laim;
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
Laim;decorateOutput(Lain;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lain;
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
Laim;composite()Laim;
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
Laim;composite(Laim;)Laim;
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
Laim;composite(Laim;Laim;)Laim;
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
Laim;composite([Laim;)Laim;
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
Laim;composite(Ljava/util/List;)Laim;
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
Laim;fromPair(Laim;Laim;)Laim;
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
Laim;fromList(Ljava/util/List;)Laim;
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;
-