net.minecraft.network.chat

public interface Component

extends com.mojang.brigadier.Message, FormattedText

xo
net.minecraft.network.chat.Component

Method summary

Modifier and TypeMethod
Style
a()
getStyle()
ComponentContents
b()
getContents()
default String
getString()
getString()
default String
a(int arg0)
getString(int arg0)
List<Component>
c()
getSiblings()
default String
d()
tryCollapseToString()
default MutableComponent
e()
plainCopy()
default MutableComponent
f()
copy()
FormattedCharSequence
g()
getVisualOrderText()
default <T> Optional<T>
a(xt$b<T> arg0, yl arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
default <T> Optional<T>
a(xt$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
default List<Component>
h()
toFlatList()
default List<Component>
a(yl arg0)
toFlatList(Style arg0)
default boolean
a(xo arg0)
contains(Component arg0)
static Component
a(String arg0)
nullToEmpty(String arg0)
static MutableComponent
b(String arg0)
literal(String arg0)
static MutableComponent
c(String arg0)
translatable(String arg0)
static MutableComponent
a(String arg0, Object... arg1)
translatable(String arg0, Object... arg1)
static MutableComponent
b(String arg0, Object... arg1)
translatableEscape(String arg0, Object... arg1)
static MutableComponent
a(String arg0, String arg1)
translatableWithFallback(String arg0, String arg1)
static MutableComponent
a(String arg0, String arg1, Object... arg2)
translatableWithFallback(String arg0, String arg1, Object... arg2)
static MutableComponent
i()
empty()
static MutableComponent
d(String arg0)
keybind(String arg0)
static MutableComponent
a(String arg0, boolean arg1, Optional<xo> arg2, yq arg3)
nbt(String arg0, boolean arg1, Optional<Component> arg2, DataSource arg3)
static MutableComponent
a(hf arg0, String arg1)
score(SelectorPattern arg0, String arg1)
static MutableComponent
b(String arg0, String arg1)
score(String arg0, String arg1)
static MutableComponent
a(hf arg0, Optional<xo> arg1)
selector(SelectorPattern arg0, Optional<Component> arg1)
static Component
a(Date arg0)
translationArg(Date arg0)
static Component
a(com.mojang.brigadier.Message arg0)
translationArg(com.mojang.brigadier.Message arg0)
static Component
a(UUID arg0)
translationArg(UUID arg0)
static Component
a(ame arg0)
translationArg(ResourceLocation arg0)
static Component
a(dlz arg0)
translationArg(ChunkPos arg0)
static Component
a(URI arg0)
translationArg(URI arg0)