Interface PlainTextContent

All Superinterfaces:
TextContent
All Known Implementing Classes:
PlainTextContent.Literal

public interface PlainTextContent extends TextContent
Mappings:
Namespace Name
official wm
intermediary net/minecraft/class_8828
named net/minecraft/text/PlainTextContent
  • Field Details

    • CODEC

      static final com.mojang.serialization.MapCodec<PlainTextContent> 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

      static final TextContent.Type<PlainTextContent> 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

      static final PlainTextContent 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

      static PlainTextContent of(String string)
      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

      default TextContent.Type<?> getType()
      Specified by:
      getType in interface TextContent
      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;