Package net.minecraft.text
Class Texts
java.lang.Object
net.minecraft.text.Texts
public class Texts extends Object
- Mappings:
Namespace Name official ojintermediary net/minecraft/class_2564named net/minecraft/text/Texts
-
Constructor Summary
Constructors Constructor Description Texts() -
Method Summary
Modifier and Type Method Description static MutableTextbracketed(Text text)static <T> MutableTextjoin(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)private static Stylemethod_27663(ServerCommandSource serverCommandSource, Style style, Entity entity, int int2)static MutableTextparse(ServerCommandSource source, Text text, Entity sender, int depth)static MutableTextsetStyleIfAbsent(MutableText text, Style style)static TexttoText(com.mojang.authlib.GameProfile profile)static TexttoText(com.mojang.brigadier.Message message)
-
Constructor Details
-
Texts
public Texts()
-
-
Method Details
-
setStyleIfAbsent
- Mappings:
Namespace Name Mixin selector official aLoj;a(Loo;Los;)Loo;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;
-
parse
public static MutableText parse(@Nullable ServerCommandSource source, Text text, @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLoj;a(Ldb;Loi;Laqv;I)Loo;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;
-
method_27663
private static Style method_27663(@Nullable ServerCommandSource serverCommandSource, Style style, @Nullable Entity entity, int int2) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLoj;a(Ldb;Los;Laqv;I)Los;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 method_27663Lnet/minecraft/text/Texts;method_27663(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 aLoj;a(Lcom/mojang/authlib/GameProfile;)Loi;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 aLoj;a(Ljava/util/Collection;)Loi;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 aLoj;a(Ljava/util/Collection;Ljava/util/function/Function;)Loi;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 bLoj;b(Ljava/util/Collection;Ljava/util/function/Function;)Loo;intermediary method_10884Lnet/minecraft/class_2564;method_10884(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/class_5250;named joinLnet/minecraft/text/Texts;join(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/text/MutableText;
-
bracketed
- Mappings:
Namespace Name Mixin selector official aLoj;a(Loi;)Loo;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 aLoj;a(Lcom/mojang/brigadier/Message;)Loi;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;
-