net.minecraft.network.chat

public interface Component

extends com.mojang.brigadier.Message, Iterable<Component>

lf
net.minecraft.network.chat.Component
net.minecraft.class_2561
net.minecraft.text.Text
net.minecraft.util.text.ITextComponent
net.minecraft.server.v1_15_R1.IChatBaseComponent

Method summary

Modifier and TypeMethod
Component
a(ln arg0)
setStyle(Style arg0)
method_10862(class_2583 arg0)
setStyle(Style style)
func_150255_a(Style arg0)
setChatModifier(ChatModifier arg0)
Style
b()
getStyle()
method_10866()
getStyle()
func_150256_b()
getChatModifier()
default Component
a(String arg0)
append(String arg0)
method_10864(String arg0)
append(String text)
func_150258_a(String arg0)
Component
a(lf arg0)
append(Component arg0)
method_10852(class_2561 arg0)
append(Text text)
func_150257_a(ITextComponent arg0)
addSibling(IChatBaseComponent arg0)
String
d()
getContents()
method_10851()
asString()
func_150261_e()
getText()
default String
getString()
getString()
getString()
getString()
default String
a(int arg0)
getString(int arg0)
method_10858(int arg0)
asTruncatedString(int length)
func_212636_a(int arg0)
default String
e()
getColoredString()
method_10863()
asFormattedString()
func_150254_d()
getLegacyString()
List<Component>
a()
getSiblings()
method_10855()
getSiblings()
func_150253_a()
getSiblings()
Stream<Component>
c()
stream()
method_10865()
stream()
func_212640_c()
default Stream<Component>
f()
flatStream()
method_10860()
streamCopied()
func_212637_f()
default Iterator<Component>
iterator()
iterator()
iterator()
iterator()
Component
g()
copy()
method_10850()
copy()
func_150259_f()
default Component
h()
deepCopy()
method_10853()
deepCopy()
func_212638_h()
default Component
a(Consumer<ln> arg0)
withStyle(Consumer<Style> arg0)
method_10859(Consumer<class_2583> arg0)
styled(Consumer<Style> transformer)
func_211710_a(Consumer<Style> arg0)
default Component
a(g... arg0)
withStyle(ChatFormatting... arg0)
method_10856(class_124... arg0)
formatted(Formatting... formatting)
func_211709_a(TextFormatting... arg0)
default Component
a(g arg0)
withStyle(ChatFormatting arg0)
method_10854(class_124 arg0)
formatted(Formatting formatting)
func_211708_a(TextFormatting arg0)
static Component
b(lf arg0)
flattenStyle(Component arg0)
method_10857(class_2561 arg0)
copyWithoutChildren(Text text)
func_212639_b(ITextComponent arg0)