Package net.minecraft.text
Class Texts
java.lang.Object
net.minecraft.text.Texts
- Mappings:
Namespace Name official oointermediary net/minecraft/class_2564named net/minecraft/text/Texts
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MutableTextstatic <T> Textjoin(Collection<T> elements, Function<T,Text> transformer)static TextjoinOrdered(Collection<String> strings)static <T extends Comparable<T>>
TextjoinOrdered(Collection<T> elements, Function<T,Text> transformer)static Optional<MutableText>method_36330(@Nullable ServerCommandSource serverCommandSource, Optional<Text> optional, @Nullable Entity entity, int int2)static <T> MutableTextmethod_36331(Collection<T> collection, Optional<? extends Text> optional, Function<T,Text> function)static <T> MutableTextmethod_36332(Collection<T> collection, Text text, Function<T,Text> function)static MutableTextprivate static StyleparseStyle(@Nullable ServerCommandSource source, Style style, @Nullable Entity sender, int depth)static MutableTextsetStyleIfAbsent(MutableText text, Style style)static TexttoText(com.mojang.authlib.GameProfile profile)static TexttoText(com.mojang.brigadier.Message message)
-
Field Details
-
field_33536
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLoo;a:Ljava/lang/String;intermediary field_33536Lnet/minecraft/class_2564;field_33536:Ljava/lang/String;named field_33536Lnet/minecraft/text/Texts;field_33536:Ljava/lang/String;
-
field_33537
- Mappings:
Namespace Name Mixin selector official bLoo;b:Lon;intermediary field_33537Lnet/minecraft/class_2564;field_33537:Lnet/minecraft/class_2561;named field_33537Lnet/minecraft/text/Texts;field_33537:Lnet/minecraft/text/Text;
-
field_33538
- Mappings:
Namespace Name Mixin selector official cLoo;c:Lon;intermediary field_33538Lnet/minecraft/class_2564;field_33538:Lnet/minecraft/class_2561;named field_33538Lnet/minecraft/text/Texts;field_33538:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
Texts
public Texts()
-
-
Method Details
-
setStyleIfAbsent
- Mappings:
Namespace Name Mixin selector official aLoo;a(Lot;Lox;)Lot;intermediary method_10889Lnet/minecraft/class_2564;method_10889(Lnet/minecraft/class_5250;Lnet/minecraft/class_2583;)Lnet/minecraft/class_5250;named setStyleIfAbsentLnet/minecraft/text/Texts;setStyleIfAbsent(Lnet/minecraft/text/MutableText;Lnet/minecraft/text/Style;)Lnet/minecraft/text/MutableText;
-
method_36330
public static Optional<MutableText> method_36330(@Nullable @Nullable ServerCommandSource serverCommandSource, Optional<Text> optional, @Nullable @Nullable Entity entity, int int2) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLoo;a(Ldg;Ljava/util/Optional;Laso;I)Ljava/util/Optional;intermediary method_36330Lnet/minecraft/class_2564;method_36330(Lnet/minecraft/class_2168;Ljava/util/Optional;Lnet/minecraft/class_1297;I)Ljava/util/Optional;named method_36330Lnet/minecraft/text/Texts;method_36330(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Optional;Lnet/minecraft/entity/Entity;I)Ljava/util/Optional;
-
parse
public static MutableText parse(@Nullable @Nullable ServerCommandSource source, Text text, @Nullable @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLoo;a(Ldg;Lon;Laso;I)Lot;intermediary method_10881Lnet/minecraft/class_2564;method_10881(Lnet/minecraft/class_2168;Lnet/minecraft/class_2561;Lnet/minecraft/class_1297;I)Lnet/minecraft/class_5250;named parseLnet/minecraft/text/Texts;parse(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/text/Text;Lnet/minecraft/entity/Entity;I)Lnet/minecraft/text/MutableText;
-
parseStyle
private static Style parseStyle(@Nullable @Nullable ServerCommandSource source, Style style, @Nullable @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLoo;a(Ldg;Lox;Laso;I)Lox;intermediary method_27663Lnet/minecraft/class_2564;method_27663(Lnet/minecraft/class_2168;Lnet/minecraft/class_2583;Lnet/minecraft/class_1297;I)Lnet/minecraft/class_2583;named parseStyleLnet/minecraft/text/Texts;parseStyle(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/text/Style;Lnet/minecraft/entity/Entity;I)Lnet/minecraft/text/Style;
-
toText
- Mappings:
Namespace Name Mixin selector official aLoo;a(Lcom/mojang/authlib/GameProfile;)Lon;intermediary method_10882Lnet/minecraft/class_2564;method_10882(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_2561;named toTextLnet/minecraft/text/Texts;toText(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/text/Text;
-
joinOrdered
- Mappings:
Namespace Name Mixin selector official aLoo;a(Ljava/util/Collection;)Lon;intermediary method_10888Lnet/minecraft/class_2564;method_10888(Ljava/util/Collection;)Lnet/minecraft/class_2561;named joinOrderedLnet/minecraft/text/Texts;joinOrdered(Ljava/util/Collection;)Lnet/minecraft/text/Text;
-
joinOrdered
public static <T extends Comparable<T>> Text joinOrdered(Collection<T> elements, Function<T,Text> transformer)- Mappings:
Namespace Name Mixin selector official aLoo;a(Ljava/util/Collection;Ljava/util/function/Function;)Lon;intermediary method_10887Lnet/minecraft/class_2564;method_10887(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/class_2561;named joinOrderedLnet/minecraft/text/Texts;joinOrdered(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/text/Text;
-
join
- Mappings:
Namespace Name Mixin selector official bLoo;b(Ljava/util/Collection;Ljava/util/function/Function;)Lon;intermediary method_10884Lnet/minecraft/class_2564;method_10884(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/class_2561;named joinLnet/minecraft/text/Texts;join(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/text/Text;
-
method_36331
public static <T> MutableText method_36331(Collection<T> collection, Optional<? extends Text> optional, Function<T,Text> function)- Mappings:
Namespace Name Mixin selector official aLoo;a(Ljava/util/Collection;Ljava/util/Optional;Ljava/util/function/Function;)Lot;intermediary method_36331Lnet/minecraft/class_2564;method_36331(Ljava/util/Collection;Ljava/util/Optional;Ljava/util/function/Function;)Lnet/minecraft/class_5250;named method_36331Lnet/minecraft/text/Texts;method_36331(Ljava/util/Collection;Ljava/util/Optional;Ljava/util/function/Function;)Lnet/minecraft/text/MutableText;
-
method_36332
public static <T> MutableText method_36332(Collection<T> collection, Text text, Function<T,Text> function)- Mappings:
Namespace Name Mixin selector official aLoo;a(Ljava/util/Collection;Lon;Ljava/util/function/Function;)Lot;intermediary method_36332Lnet/minecraft/class_2564;method_36332(Ljava/util/Collection;Lnet/minecraft/class_2561;Ljava/util/function/Function;)Lnet/minecraft/class_5250;named method_36332Lnet/minecraft/text/Texts;method_36332(Ljava/util/Collection;Lnet/minecraft/text/Text;Ljava/util/function/Function;)Lnet/minecraft/text/MutableText;
-
bracketed
- Mappings:
Namespace Name Mixin selector official aLoo;a(Lon;)Lot;intermediary method_10885Lnet/minecraft/class_2564;method_10885(Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;named bracketedLnet/minecraft/text/Texts;bracketed(Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;
-
toText
- Mappings:
Namespace Name Mixin selector official aLoo;a(Lcom/mojang/brigadier/Message;)Lon;intermediary method_10883Lnet/minecraft/class_2564;method_10883(Lcom/mojang/brigadier/Message;)Lnet/minecraft/class_2561;named toTextLnet/minecraft/text/Texts;toText(Lcom/mojang/brigadier/Message;)Lnet/minecraft/text/Text;
-