Uses of Interface
net.minecraft.text.TextContent
-
Uses of TextContent in net.minecraft.text
Modifier and TypeClassDescriptionclass
The keybind text content.final record
class
class
class
class
Modifier and TypeFieldDescriptionprivate final TextContent
MutableText.content
static final TextContent
TextContent.EMPTY
An empty text content.Modifier and TypeMethodDescriptionMutableText.getContent()
Returns the content of the text.Text.getContent()
Returns the content of the text.Modifier and TypeMethodDescriptionstatic MutableText
MutableText.of
(TextContent content) Creates a piece of mutable text with the given content, with no sibling and style.ModifierConstructorDescription(package private)
MutableText
(TextContent content, List<Text> siblings, Style style)