net.minecraft.network.chat

public class TextComponent

extends BaseComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText

qx
net.minecraft.network.chat.TextComponent
net.minecraft.class_2585
net.minecraft.text.LiteralText
net.minecraft.src.C_5025_
net.minecraft.network.chat.ChatComponentText

Field summary

Modifier and TypeField
public static final Component
d
EMPTY
field_24366
EMPTY
f_131282_
private final String
e
text
field_11862
string
f_131283_

Constructor summary

ModifierConstructor
public (String string)

Method summary

Modifier and TypeMethod
public String
h()
getText()
method_10993()
getRawString()
m_131292_()
public String
a()
getContents()
method_10851()
asString()
m_6111_()
public TextComponent
i()
plainCopy()
method_10992()
copy()
m_6879_()