Uses of Interface
net.minecraft.text.TextContent
Packages that use TextContent
-
Uses of TextContent in net.minecraft.text
Subinterfaces of TextContent in net.minecraft.textClasses in net.minecraft.text that implement TextContentModifier and TypeClassDescriptionclassThe keybind text content.classfinal recordstatic final recordfinal recordfinal recordclassFields in net.minecraft.text declared as TextContentMethods in net.minecraft.text that return TextContentModifier and TypeMethodDescriptionMutableText.getContent()Returns the content of the text.Text.getContent()Returns the content of the text.Methods in net.minecraft.text that return types with arguments of type TextContentModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends TextContent> TextContent.getCodec()Methods in net.minecraft.text with parameters of type TextContentModifier and TypeMethodDescriptionstatic MutableTextMutableText.of(TextContent content) Creates a piece of mutable text with the given content, with no sibling and style.Method parameters in net.minecraft.text with type arguments of type TextContentModifier and TypeMethodDescriptionprivate static voidTextCodecs.registerTypes(Codecs.IdMapper<String, com.mojang.serialization.MapCodec<? extends TextContent>> idMapper) Constructors in net.minecraft.text with parameters of type TextContentModifierConstructorDescription(package private)MutableText(TextContent content, List<Text> siblings, Style style)