Package net.minecraft.text
Interface PlainTextContent
- All Superinterfaces:
TextContent
- All Known Implementing Classes:
PlainTextContent.Literal
- Mappings:
Namespace Name official wm
intermediary net/minecraft/class_8828
named net/minecraft/text/PlainTextContent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.text.TextContent
TextContent.Type<T extends TextContent>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<PlainTextContent>
static final PlainTextContent
static final TextContent.Type<PlainTextContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TextContent.Type<?>
getType()
static PlainTextContent
string()
Methods inherited from interface net.minecraft.text.TextContent
parse, visit, visit
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lwm;a:Lcom/mojang/serialization/MapCodec;
intermediary field_46623
Lnet/minecraft/class_8828;field_46623:Lcom/mojang/serialization/MapCodec;
named CODEC
Lnet/minecraft/text/PlainTextContent;CODEC:Lcom/mojang/serialization/MapCodec;
-
TYPE
- Mappings:
Namespace Name Mixin selector official b
Lwm;b:Lvg$a;
intermediary field_46624
Lnet/minecraft/class_8828;field_46624:Lnet/minecraft/class_7417$class_8823;
named TYPE
Lnet/minecraft/text/PlainTextContent;TYPE:Lnet/minecraft/text/TextContent$Type;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official c
Lwm;c:Lwm;
intermediary field_46625
Lnet/minecraft/class_8828;field_46625:Lnet/minecraft/class_8828;
named EMPTY
Lnet/minecraft/text/PlainTextContent;EMPTY:Lnet/minecraft/text/PlainTextContent;
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lwm;a(Ljava/lang/String;)Lwm;
intermediary method_54232
Lnet/minecraft/class_8828;method_54232(Ljava/lang/String;)Lnet/minecraft/class_8828;
named of
Lnet/minecraft/text/PlainTextContent;of(Ljava/lang/String;)Lnet/minecraft/text/PlainTextContent;
-
string
String string()- Mappings:
Namespace Name Mixin selector official b
Lwm;b()Ljava/lang/String;
intermediary comp_737
Lnet/minecraft/class_8828;comp_737()Ljava/lang/String;
named string
Lnet/minecraft/text/PlainTextContent;string()Ljava/lang/String;
-
getType
- Specified by:
getType
in interfaceTextContent
- Mappings:
Namespace Name Mixin selector official a
Lvg;a()Lvg$a;
intermediary method_54163
Lnet/minecraft/class_7417;method_54163()Lnet/minecraft/class_7417$class_8823;
named getType
Lnet/minecraft/text/TextContent;getType()Lnet/minecraft/text/TextContent$Type;
-