net.minecraft.network.chat.contents

public interface PlainTextContents

extends ComponentContents

yw
net.minecraft.network.chat.contents.PlainTextContents
net.minecraft.class_8828
net.minecraft.text.PlainTextContent
net.minecraft.src.C_301906_
net.minecraft.network.chat.contents.LiteralContents

Field summary

Modifier and TypeField
com.mojang.serialization.MapCodec<PlainTextContents>
a
CODEC
field_46623
CODEC
f_302508_
ComponentContents$Type<PlainTextContents>
b
TYPE
field_46624
TYPE
f_302384_
PlainTextContents
c
EMPTY
field_46625
EMPTY
f_302486_

Method summary

Modifier and TypeMethod
static PlainTextContents
a(String arg0)
create(String arg0)
method_54232(String arg0)
of(String string)
m_307377_(String p_310243_)
String
b()
text()
comp_737()
string()
m_305315_()
default ComponentContents$Type<?>
a()
type()
method_54163()
getType()
m_304650_()