Interface PlainTextContents
- All Superinterfaces:
ComponentContents
- All Known Implementing Classes:
PlainTextContents.LiteralContents
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.ComponentContents
ComponentContents.Type<T extends ComponentContents>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<PlainTextContents>
static final PlainTextContents
static final ComponentContents.Type<PlainTextContents>
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlainTextContents
text()
default ComponentContents.Type<?>
type()
Methods inherited from interface net.minecraft.network.chat.ComponentContents
resolve, visit, visit
-
Field Details
-
CODEC
-
TYPE
-
EMPTY
-
-
Method Details
-
create
-
text
String text() -
type
- Specified by:
type
in interfaceComponentContents
-