Package net.minecraft.text
Interface PlainTextContent
- All Superinterfaces:
TextContent
- All Known Implementing Classes:
PlainTextContent.Literal
- Mappings:
Namespace Name named net/minecraft/text/PlainTextContent
intermediary net/minecraft/class_8828
official yb
-
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 named CODEC
Lnet/minecraft/text/PlainTextContent;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_46623
Lnet/minecraft/class_8828;field_46623:Lcom/mojang/serialization/MapCodec;
official a
Lyb;a:Lcom/mojang/serialization/MapCodec;
-
TYPE
- Mappings:
Namespace Name Mixin selector named TYPE
Lnet/minecraft/text/PlainTextContent;TYPE:Lnet/minecraft/text/TextContent$Type;
intermediary field_46624
Lnet/minecraft/class_8828;field_46624:Lnet/minecraft/class_7417$class_8823;
official b
Lyb;b:Lwv$a;
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/text/PlainTextContent;EMPTY:Lnet/minecraft/text/PlainTextContent;
intermediary field_46625
Lnet/minecraft/class_8828;field_46625:Lnet/minecraft/class_8828;
official c
Lyb;c:Lyb;
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/text/PlainTextContent;of(Ljava/lang/String;)Lnet/minecraft/text/PlainTextContent;
intermediary method_54232
Lnet/minecraft/class_8828;method_54232(Ljava/lang/String;)Lnet/minecraft/class_8828;
official a
Lyb;a(Ljava/lang/String;)Lyb;
-
string
String string()- Mappings:
Namespace Name Mixin selector named string
Lnet/minecraft/text/PlainTextContent;string()Ljava/lang/String;
intermediary comp_737
Lnet/minecraft/class_8828;comp_737()Ljava/lang/String;
official b
Lyb;b()Ljava/lang/String;
-
getType
- Specified by:
getType
in interfaceTextContent
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/text/TextContent;getType()Lnet/minecraft/text/TextContent$Type;
intermediary method_54163
Lnet/minecraft/class_7417;method_54163()Lnet/minecraft/class_7417$class_8823;
official a
Lwv;a()Lwv$a;
-