net.minecraft.network.chat

public interface Component

extends com.mojang.brigadier.Message, FormattedText

qk
net.minecraft.network.chat.Component
net.minecraft.class_2561
net.minecraft.text.Text
net.minecraft.src.C_4996_
net.minecraft.network.chat.IChatBaseComponent

Method summary

Modifier and TypeMethod
Style
c()
getStyle()
method_10866()
getStyle()
m_7383_()
String
a()
getContents()
method_10851()
asString()
m_6111_()
default String
getString()
getString()
getString()
default String
a(int arg0)
getString(int arg0)
method_10858(int arg0)
asTruncatedString(int length)
m_130668_(int arg0)
List<Component>
b()
getSiblings()
method_10855()
getSiblings()
m_7360_()
MutableComponent
g()
plainCopy()
method_27662()
copy()
m_6879_()
MutableComponent
e()
copy()
method_27661()
shallowCopy()
m_6881_()
FormattedCharSequence
f()
getVisualOrderText()
method_30937()
asOrderedText()
m_7532_()
default <T> Optional<T>
a(qn$b<T> arg0, qu arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27658(class_5348$class_5246<T> arg0, class_2583 arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
m_7451_(C_5000_$C_5006_<T> p_130680_, C_5020_ arg1)
default <T> Optional<T>
a(qn$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27657(class_5348$class_5245<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
m_5651_(C_5000_$C_5005_<T> arg0)
default <T> Optional<T>
b(qn$b<T> arg0, qu arg1)
visitSelf(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
visitSelf(StringVisitable$StyledVisitor<T> visitor, Style style)
m_7452_(C_5000_$C_5006_<T> p_130683_, C_5020_ arg1)
default <T> Optional<T>
b(qn$a<T> arg0)
visitSelf(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
visitSelf(StringVisitable$Visitor<T> visitor)
m_5655_(C_5000_$C_5005_<T> arg0)
default List<Component>
b(qu arg0)
toFlatList(Style arg0)
method_36136(class_2583 arg0)
getWithStyle(Style style)
m_178405_(C_5020_ arg0)
static Component
a(String arg0)
nullToEmpty(String arg0)
method_30163(String arg0)
of(String string)
m_130674_(String p_130675_)