net.minecraft.text

public class TextUtils

ik
net.minecraft.class_2566
net.minecraft.text.TextUtils
net.minecraft.util.text.TextComponentUtils
net.minecraft.util.text.TextComponentUtils

Method summary

Modifier and TypeMethod
public static Text
a(ij arg0, ip arg1)
method_20189(class_1982 arg0, class_1986 arg1)
mergeStyles(Text text, Style style)
func_211401_a(ITextComponent arg0, Style arg1)
mergeStyles(ITextComponent component, Style styleIn)
public static Text
a(bu arg0, ij arg1, aer arg2)
method_20185(class_3915 arg0, class_1982 arg1, class_864 arg2)
updateForEntity(CommandSourceStack source, Text name, Entity entity)
func_197680_a(CommandSource arg0, ITextComponent arg1, Entity arg2)
updateForEntity(CommandSource arg0, ITextComponent arg1, Entity arg2)
public static Text
a(GameProfile arg0)
method_20186(com.mojang.authlib.GameProfile arg0)
getDisplayName(com.mojang.authlib.GameProfile profile)
func_197679_a(com.mojang.authlib.GameProfile arg0)
getDisplayName(com.mojang.authlib.GameProfile profile)
public static Text
a(Collection<String> arg0)
method_20191(Collection<String> arg0)
formatList(Collection<String> names)
func_197678_a(Collection<String> arg0)
makeGreenSortedList(Collection<String> collection)
public static <T extends Comparable<T>> Text
a(Collection<T> arg0, Function<T, ij> arg1)
method_20192(Collection<T> arg0, Function<T, class_1982> arg1)
formatList(Collection<T> names, Function<T, Text> factory)
func_197675_a(Collection<T> arg0, Function<T, ITextComponent> arg1)
makeSortedList(Collection<T> collection, Function<T, ITextComponent> toTextComponent)
public static <T> Text
b(Collection<T> arg0, Function<T, ij> arg1)
method_20193(Collection<T> arg0, Function<T, class_1982> arg1)
join(Collection<T> c, Function<T, Text> factory)
func_197677_b(Collection<T> arg0, Function<T, ITextComponent> arg1)
makeList(Collection<T> collection, Function<T, ITextComponent> toTextComponent)
public static Text
a(ij arg0)
method_20188(class_1982 arg0)
wrapInSquareBrackets(Text text)
func_197676_a(ITextComponent arg0)
wrapInSquareBrackets(ITextComponent component)
public static Text
a(Message arg0)
method_20187(com.mojang.brigadier.Message arg0)
fromMessage(com.mojang.brigadier.Message message)
func_202465_a(com.mojang.brigadier.Message arg0)
toTextComponent(com.mojang.brigadier.Message message)