net.minecraft.network.chat

public class ComponentUtils

lg
net.minecraft.network.chat.ComponentUtils
net.minecraft.class_2564
net.minecraft.text.Texts
net.minecraft.util.text.TextComponentUtils
net.minecraft.server.v1_15_R1.ChatComponentUtils

Method summary

Modifier and TypeMethod
public static Component
a(lf arg0, ln arg1)
mergeStyles(Component arg0, Style arg1)
method_10889(class_2561 arg0, class_2583 arg1)
setStyleIfAbsent(Text text, Style style)
func_211401_a(ITextComponent arg0, Style arg1)
public static Component
a(cq arg0, lf arg1, akq arg2, int arg3)
updateForEntity(CommandSourceStack arg0, Component arg1, Entity arg2, int arg3)
method_10881(class_2168 arg0, class_2561 arg1, class_1297 arg2, int arg3)
parse(ServerCommandSource source, Text text, Entity sender, int depth)
func_197680_a(CommandSource arg0, ITextComponent arg1, Entity arg2, int arg3)
filterForDisplay(CommandListenerWrapper arg0, IChatBaseComponent arg1, Entity arg2, int arg3)
public static Component
a(com.mojang.authlib.GameProfile arg0)
getDisplayName(com.mojang.authlib.GameProfile arg0)
method_10882(com.mojang.authlib.GameProfile arg0)
toText(com.mojang.authlib.GameProfile profile)
func_197679_a(com.mojang.authlib.GameProfile arg0)
public static Component
a(Collection<String> arg0)
formatList(Collection<String> arg0)
method_10888(Collection<String> arg0)
joinOrdered(Collection<String> strings)
func_197678_a(Collection<String> arg0)
public static <T extends Comparable<T>> Component
a(Collection<T> arg0, Function<T, lf> arg1)
formatAndSortList(Collection<T> arg0, Function<T, Component> arg1)
method_10887(Collection<T> arg0, Function<T, class_2561> arg1)
joinOrdered(Collection<T> elements, Function<T, Text> transformer)
func_197675_a(Collection<T> arg0, Function<T, ITextComponent> arg1)
public static <T> Component
b(Collection<T> arg0, Function<T, lf> arg1)
formatList(Collection<T> arg0, Function<T, Component> arg1)
method_10884(Collection<T> arg0, Function<T, class_2561> arg1)
join(Collection<T> elements, Function<T, Text> transformer)
func_197677_b(Collection<T> arg0, Function<T, ITextComponent> arg1)
public static Component
a(lf arg0)
wrapInSquareBrackets(Component arg0)
method_10885(class_2561 arg0)
bracketed(Text text)
func_197676_a(ITextComponent arg0)
public static Component
a(com.mojang.brigadier.Message arg0)
fromMessage(com.mojang.brigadier.Message arg0)
method_10883(com.mojang.brigadier.Message arg0)
toText(com.mojang.brigadier.Message message)
func_202465_a(com.mojang.brigadier.Message arg0)