net.minecraft.network.chat

public class MutableComponent

implements Component

xn
net.minecraft.network.chat.MutableComponent
net.minecraft.class_5250
net.minecraft.text.MutableText
net.minecraft.src.C_5012_
net.minecraft.network.chat.IChatMutableComponent

Field summary

Modifier and TypeField
private final ComponentContents
c
contents
field_39005
content
f_237194_
private final List<Component>
d
siblings
field_39006
siblings
f_237195_
private Style
e
style
field_39007
style
f_237196_
private FormattedCharSequence
f
visualOrderText
field_39008
ordered
f_237197_
private Language
g
decomposedWith
field_39009
language
f_237198_

Constructor summary

ModifierConstructor
(ComponentContents content, List<Component> siblings, Style style)

Method summary

Modifier and TypeMethod
public static MutableComponent
a(xa arg0)
create(ComponentContents arg0)
method_43477(class_7417 arg0)
of(TextContent content)
m_237204_(C_213506_ p_237205_)
public ComponentContents
b()
getContents()
method_10851()
getContent()
m_214077_()
public List<Component>
c()
getSiblings()
method_10855()
getSiblings()
m_7360_()
public MutableComponent
b(xw arg0)
setStyle(Style arg0)
method_10862(class_2583 arg0)
setStyle(Style style)
m_6270_(C_5020_ arg0)
public Style
a()
getStyle()
method_10866()
getStyle()
m_7383_()
public MutableComponent
f(String arg0)
append(String arg0)
method_27693(String arg0)
append(String text)
m_130946_(String arg0)
public MutableComponent
b(wz arg0)
append(Component arg0)
method_10852(class_2561 arg0)
append(Text text)
m_7220_(C_4996_ arg0)
public MutableComponent
a(UnaryOperator<xw> arg0)
withStyle(UnaryOperator<Style> arg0)
method_27694(UnaryOperator<class_2583> arg0)
styled(UnaryOperator<Style> styleUpdater)
m_130938_(UnaryOperator<C_5020_> arg0)
public MutableComponent
c(xw arg0)
withStyle(Style arg0)
method_27696(class_2583 arg0)
fillStyle(Style styleOverride)
m_130948_(C_5020_ arg0)
public MutableComponent
a(n... arg0)
withStyle(ChatFormatting... arg0)
method_27695(class_124... arg0)
formatted(Formatting... formattings)
m_130944_(C_4856_... arg0)
public MutableComponent
a(n arg0)
withStyle(ChatFormatting arg0)
method_27692(class_124 arg0)
formatted(Formatting formatting)
m_130940_(C_4856_ arg0)
public MutableComponent
b(int arg0)
withColor(int arg0)
method_54663(int arg0)
withColor(int color)
m_306658_(int arg0)
public FormattedCharSequence
g()
getVisualOrderText()
method_30937()
asOrderedText()
m_7532_()