net.minecraft.network.chat

public class ComponentUtils

ms
net.minecraft.network.chat.ComponentUtils
net.minecraft.class_2564
net.minecraft.text.Texts
net.minecraft.util.text.TextComponentUtils

Method summary

Modifier and TypeMethod
public static MutableComponent
a(mx arg0, nb 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(cz arg0, mr arg1, aom 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)
private static Style
a(cz arg0, nb arg1, aom 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, mr> 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, mr> 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(mr 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)