net.minecraft.network.chat

public class ComponentUtils

ns
net.minecraft.network.chat.ComponentUtils
net.minecraft.class_2564
net.minecraft.text.Texts
net.minecraft.util.text.TextComponentUtils
net.minecraft.server.v1_16_R2.ChatComponentUtils

Method summary

Modifier and TypeMethod
public static MutableComponent
a(nx arg0, ob arg1)
mergeStyles(MutableComponent arg0, Style arg1)
method_10889(class_5250 arg0, class_2583 arg1)
setStyleIfAbsent(MutableText text, Style style)
func_240648_a_(IFormattableTextComponent arg0, Style arg1)
public static MutableComponent
a(db arg0, nr arg1, apx 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_240645_a_(CommandSource arg0, ITextComponent arg1, Entity arg2, int arg3)
filterForDisplay(CommandListenerWrapper arg0, IChatBaseComponent arg1, Entity arg2, int arg3)
private static Style
a(db arg0, ob arg1, apx arg2, int arg3)
resolveStyle(CommandSourceStack arg0, Style arg1, Entity arg2, int arg3)
method_27663(class_2168 arg0, class_2583 arg1, class_1297 arg2, int arg3)
method_27663(ServerCommandSource arg0, Style arg1, Entity arg2, int arg3)
func_240646_a_(CommandSource arg0, Style 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, nr> 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> MutableComponent
b(Collection<T> arg0, Function<T, nr> 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_240649_b_(Collection<T> arg0, Function<T, ITextComponent> arg1)
public static MutableComponent
a(nr arg0)
wrapInSquareBrackets(Component arg0)
method_10885(class_2561 arg0)
bracketed(Text text)
func_240647_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)