net.minecraft.network.chat

public interface Component

extends com.mojang.brigadier.Message, FormattedText

xv
net.minecraft.network.chat.Component
net.minecraft.class_2561
net.minecraft.unmapped.C_rdaqiwdt
net.minecraft.text.Text
net.minecraft.text.Text
net.minecraft.src.C_4996_
net.minecraft.network.chat.IChatBaseComponent

Method summary

Modifier and TypeMethod
Style
a()
getStyle()
method_10866()
m_oyjmhrxe()
getStyle()
getStyle()
m_7383_()
ComponentContents
b()
getContents()
method_10851()
m_pwvegngp()
getContent()
asComponent()
m_214077_()
default String
getString()
getString()
getString()
default String
a(int arg0)
getString(int arg0)
method_10858(int arg0)
m_zbmgisvb(int arg0)
asTruncatedString(int length)
asTruncatedString(int length)
m_130668_(int arg0)
List<Component>
c()
getSiblings()
method_10855()
m_eiqxivnk()
getSiblings()
getSiblings()
m_7360_()
default String
d()
tryCollapseToString()
method_54160()
m_dldwoyzs()
getLiteralString()
getLiteralString()
m_306448_()
default MutableComponent
e()
plainCopy()
method_27662()
m_tsfcehif()
copyContentOnly()
copyContentOnly()
m_6879_()
default MutableComponent
f()
copy()
method_27661()
m_rxxicskz()
copy()
copy()
m_6881_()
FormattedCharSequence
g()
getVisualOrderText()
method_30937()
m_dmavlphp()
asOrderedText()
asOrderedText()
m_7532_()
default <T> Optional<T>
a(ya$b<T> arg0, ys arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27658(class_5348$class_5246<T> arg0, class_2583 arg1)
m_kijcyusu(C_xzalvetc$C_rnsgpsnw<T> arg0, C_cpwnhism arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style 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(ya$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27657(class_5348$class_5245<T> arg0)
m_aoqmhbpi(C_xzalvetc$C_delqnnjz<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
m_5651_(C_5000_$C_5005_<T> arg0)
default List<Component>
h()
toFlatList()
method_44746()
m_khnrdqlh()
withoutStyle()
clearStyle()
m_240407_()
default List<Component>
a(ys arg0)
toFlatList(Style arg0)
method_36136(class_2583 arg0)
m_hrmtapxn(C_cpwnhism arg0)
getWithStyle(Style style)
setStyle(Style style)
m_178405_(C_5020_ arg0)
default boolean
a(xv arg0)
contains(Component arg0)
method_44745(class_2561 arg0)
m_pgfflmov(C_rdaqiwdt arg0)
contains(Text text)
contains(Text text)
m_240452_(C_4996_ arg0)
static Component
a(String arg0)
nullToEmpty(String arg0)
method_30163(String arg0)
m_tzcqohhx(String arg0)
of(String string)
of(String text)
m_130674_(String p_130675_)
static MutableComponent
b(String arg0)
literal(String arg0)
method_43470(String arg0)
m_uysfrnzl(String arg0)
literal(String string)
literal(String text)
m_237113_(String p_237114_)
static MutableComponent
c(String arg0)
translatable(String arg0)
method_43471(String arg0)
m_iktyeyef(String arg0)
translatable(String key)
translatable(String translationKey)
m_237115_(String p_237116_)
static MutableComponent
a(String arg0, Object... arg1)
translatable(String arg0, Object... arg1)
method_43469(String arg0, Object... arg1)
m_dztmuipa(String arg0, Object... arg1)
translatable(String key, Object... args)
translatable(String translationKey, Object... args)
m_237110_(String p_237111_, Object... p_237112_)
static MutableComponent
b(String arg0, Object... arg1)
translatableEscape(String arg0, Object... arg1)
method_54159(String arg0, Object... arg1)
m_phszeyji(String arg0, Object... arg1)
stringifiedTranslatable(String key, Object... args)
stringifiedTranslatable(String translationKey, Object... args)
m_307043_(String p_312579_, Object... p_312922_)
static MutableComponent
a(String arg0, String arg1)
translatableWithFallback(String arg0, String arg1)
method_48321(String arg0, String arg1)
m_dbsuxeye(String arg0, String arg1)
translatableWithFallback(String key, String fallback)
translatableWithFallback(String translationKey, String fallback)
m_264568_(String p_265747_, String p_265287_)
static MutableComponent
a(String arg0, String arg1, Object... arg2)
translatableWithFallback(String arg0, String arg1, Object... arg2)
method_48322(String arg0, String arg1, Object... arg2)
m_ywwehcem(String arg0, String arg1, Object... arg2)
translatableWithFallback(String key, String fallback, Object... args)
translatableWithFallback(String translationKey, String fallback, Object... args)
m_264642_(String p_265449_, String p_265281_, Object... p_265785_)
static MutableComponent
i()
empty()
method_43473()
m_oamaavje()
empty()
empty()
m_237119_()
static MutableComponent
d(String arg0)
keybind(String arg0)
method_43472(String arg0)
m_nxgujqbg(String arg0)
keybind(String string)
keyBind(String key)
m_237117_(String p_237118_)
static MutableComponent
a(String arg0, boolean arg1, Optional<xv> arg2, yx arg3)
nbt(String arg0, boolean arg1, Optional<Component> arg2, DataSource arg3)
method_43468(String arg0, boolean arg1, Optional<class_2561> arg2, class_7419 arg3)
m_vwzgcgyh(String arg0, boolean arg1, Optional<C_rdaqiwdt> arg2, C_pfocmsrt arg3)
nbt(String rawPath, boolean interpret, Optional<Text> separator, NbtDataSource dataSource)
nbt(String pathPattern, boolean interpreting, Optional<Text> separator, TextDataSource nbt)
m_237105_(String p_237106_, boolean p_237107_, Optional<C_4996_> p_237108_, C_213514_ p_237109_)
static MutableComponent
a(hn arg0, String arg1)
score(SelectorPattern arg0, String arg1)
method_62790(class_10104 arg0, String arg1)
m_necqejxs(C_guiotivj arg0, String arg1)
score(ParsedSelector selector, String objective)
score(ParsedSelector selector, String objective)
m_352693_(C_345598_ p_367861_, String p_361558_)
static MutableComponent
b(String arg0, String arg1)
score(String arg0, String arg1)
method_43466(String arg0, String arg1)
m_newxckss(String arg0, String arg1)
score(String name, String objective)
score(String name, String objective)
m_237099_(String p_237100_, String p_237101_)
static MutableComponent
a(hn arg0, Optional<xv> arg1)
selector(SelectorPattern arg0, Optional<Component> arg1)
method_43467(class_10104 arg0, Optional<class_2561> arg1)
m_kuqyhsxe(C_guiotivj arg0, Optional<C_rdaqiwdt> arg1)
selector(ParsedSelector selector, Optional<Text> separator)
selector(ParsedSelector selector, Optional<Text> separator)
m_237102_(C_345598_ p_366885_, Optional<C_4996_> p_237104_)
static Component
a(Date arg0)
translationArg(Date arg0)
method_54157(Date arg0)
m_ddewoxnu(Date arg0)
of(Date date)
of(Date date)
m_306983_(Date p_313239_)
static Component
a(com.mojang.brigadier.Message arg0)
translationArg(com.mojang.brigadier.Message arg0)
method_54155(com.mojang.brigadier.Message arg0)
m_aegnzamz(com.mojang.brigadier.Message arg0)
of(com.mojang.brigadier.Message message)
of(com.mojang.brigadier.Message message)
m_304916_(com.mojang.brigadier.Message p_312086_)
static Component
a(UUID arg0)
translationArg(UUID arg0)
method_54158(UUID arg0)
m_lmliagpk(UUID arg0)
of(UUID uuid)
of(UUID uuid)
m_306730_(UUID p_311149_)
static Component
a(alz arg0)
translationArg(ResourceLocation arg0)
method_54154(class_2960 arg0)
m_afsbcqnh(C_ncpywfca arg0)
of(Identifier id)
of(Identifier id)
m_305236_(C_5265_ p_311439_)
static Component
a(dgn arg0)
translationArg(ChunkPos arg0)
method_54156(class_1923 arg0)
m_yhnuxmwl(C_ynrszrtu arg0)
of(ChunkPos pos)
id(ChunkPos pos)
m_307221_(C_1560_ p_312850_)
static Component
a(URI arg0)
translationArg(URI arg0)
method_61110(URI arg0)
m_ncuuaewg(URI arg0)
of(URI uri)
of(URI uri)
m_340451_(URI p_344435_)