net.minecraft.network.chat

public class ComponentUtils

qa
net.minecraft.network.chat.ComponentUtils
net.minecraft.class_2564
net.minecraft.unmapped.C_ozfttmxm
net.minecraft.text.Texts
net.minecraft.src.C_4998_
net.minecraft.network.chat.ChatComponentUtils

Field summary

Modifier and TypeField
public static final String
a
DEFAULT_SEPARATOR_TEXT
field_33536
f_vvqkbvli
DEFAULT_SEPARATOR
f_178419_
public static final Component
b
DEFAULT_SEPARATOR
field_33537
f_gjfybsml
GRAY_DEFAULT_SEPARATOR_TEXT
f_178420_
public static final Component
c
DEFAULT_NO_STYLE_SEPARATOR
field_33538
f_xfajgpll
DEFAULT_SEPARATOR_TEXT
f_178421_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static MutableComponent
a(qf arg0, qj arg1)
mergeStyles(MutableComponent arg0, Style arg1)
method_10889(class_5250 arg0, class_2583 arg1)
m_dvtsfaez(C_npqneive arg0, C_cpwnhism arg1)
setStyleIfAbsent(MutableText text, Style style)
m_130750_(C_5012_ p_130751_, C_5020_ p_130752_)
public static Optional<MutableComponent>
a(dm arg0, Optional<pz> arg1, awt arg2, int arg3)
updateForEntity(CommandSourceStack arg0, Optional<Component> arg1, Entity arg2, int arg3)
method_36330(class_2168 arg0, Optional<class_2561> arg1, class_1297 arg2, int arg3)
m_tbxwqtzr(C_pennblrk arg0, Optional<C_rdaqiwdt> arg1, C_astfners arg2, int arg3)
parse(ServerCommandSource source, Optional<Text> text, Entity sender, int depth)
m_178424_(C_2969_ p_178425_, Optional<C_4996_> p_178426_, C_507_ p_178427_, int p_178428_)
public static MutableComponent
a(dm arg0, pz arg1, awt 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)
m_doiztmbx(C_pennblrk arg0, C_rdaqiwdt arg1, C_astfners arg2, int arg3)
parse(ServerCommandSource source, Text text, Entity sender, int depth)
m_130731_(C_2969_ p_130732_, C_4996_ p_130733_, C_507_ p_130734_, int p_130735_)
private static Style
a(dm arg0, qj arg1, awt 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)
m_wzpdmnex(C_pennblrk arg0, C_cpwnhism arg1, C_astfners arg2, int arg3)
parseStyle(ServerCommandSource source, Style style, Entity sender, int depth)
m_130736_(C_2969_ p_130737_, C_5020_ p_130738_, C_507_ p_130739_, int p_130740_)
public static Component
a(com.mojang.authlib.GameProfile arg0)
getDisplayName(com.mojang.authlib.GameProfile arg0)
method_10882(com.mojang.authlib.GameProfile arg0)
m_jtszgnch(com.mojang.authlib.GameProfile arg0)
toText(com.mojang.authlib.GameProfile profile)
m_130727_(com.mojang.authlib.GameProfile p_130728_)
public static Component
a(Collection<String> arg0)
formatList(Collection<String> arg0)
method_10888(Collection<String> arg0)
m_ifkzyiqs(Collection<String> arg0)
joinOrdered(Collection<String> strings)
m_130743_(Collection<String> p_130744_)
public static <T extends Comparable<T>> Component
a(Collection<T> arg0, Function<T, pz> arg1)
formatAndSortList(Collection<T> arg0, Function<T, Component> arg1)
method_10887(Collection<T> arg0, Function<T, class_2561> arg1)
m_apfzphxm(Collection<T> arg0, Function<T, C_rdaqiwdt> arg1)
joinOrdered(Collection<T> elements, Function<T, Text> transformer)
m_130745_(Collection<T> p_130746_, Function<T, C_4996_> p_130747_)
public static <T> Component
b(Collection<? extends T> arg0, Function<T, pz> arg1)
formatList(Collection<? extends T> arg0, Function<T, Component> arg1)
method_10884(Collection<? extends T> arg0, Function<T, class_2561> arg1)
m_gteqeeuq(Collection<? extends T> arg0, Function<T, C_rdaqiwdt> arg1)
join(Collection<? extends T> elements, Function<T, Text> transformer)
m_178440_(Collection<? extends T> p_178441_, Function<T, C_4996_> p_178442_)
public static <T> MutableComponent
a(Collection<? extends T> arg0, Optional<? extends pz> arg1, Function<T, pz> arg2)
formatList(Collection<? extends T> arg0, Optional<? extends Component> arg1, Function<T, Component> arg2)
method_36331(Collection<? extends T> arg0, Optional<? extends class_2561> arg1, Function<T, class_2561> arg2)
m_qylswpct(Collection<? extends T> arg0, Optional<? extends C_rdaqiwdt> arg1, Function<T, C_rdaqiwdt> arg2)
join(Collection<? extends T> elements, Optional<? extends Text> separator, Function<T, Text> transformer)
m_178429_(Collection<? extends T> p_178430_, Optional<? extends C_4996_> p_178431_, Function<T, C_4996_> p_178432_)
public static Component
a(Collection<? extends pz> arg0, pz arg1)
formatList(Collection<? extends Component> arg0, Component arg1)
method_37112(Collection<? extends class_2561> arg0, class_2561 arg1)
m_canjlpul(Collection<? extends C_rdaqiwdt> arg0, C_rdaqiwdt arg1)
join(Collection<? extends Text> texts, Text separator)
m_178433_(Collection<? extends C_4996_> p_178434_, C_4996_ p_178435_)
public static <T> MutableComponent
a(Collection<? extends T> arg0, pz arg1, Function<T, pz> arg2)
formatList(Collection<? extends T> arg0, Component arg1, Function<T, Component> arg2)
method_36332(Collection<? extends T> arg0, class_2561 arg1, Function<T, class_2561> arg2)
m_qkobmorm(Collection<? extends T> arg0, C_rdaqiwdt arg1, Function<T, C_rdaqiwdt> arg2)
join(Collection<? extends T> elements, Text separator, Function<T, Text> transformer)
m_178436_(Collection<? extends T> p_178437_, C_4996_ p_178438_, Function<T, C_4996_> p_178439_)
public static MutableComponent
a(pz arg0)
wrapInSquareBrackets(Component arg0)
method_10885(class_2561 arg0)
m_oxqcfhcp(C_rdaqiwdt arg0)
bracketed(Text text)
m_130748_(C_4996_ p_130749_)
public static Component
a(com.mojang.brigadier.Message arg0)
fromMessage(com.mojang.brigadier.Message arg0)
method_10883(com.mojang.brigadier.Message arg0)
m_oqrmywky(com.mojang.brigadier.Message arg0)
toText(com.mojang.brigadier.Message message)
m_130729_(com.mojang.brigadier.Message p_130730_)