Interface PlainTextContent

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

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

    • CODEC

      static final com.mojang.serialization.MapCodec<PlainTextContent> 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 Lzc;a:Lcom/mojang/serialization/MapCodec;
    • TYPE

      static final TextContent.Type<PlainTextContent> 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 Lzc;b:Lxw$a;
    • EMPTY

      static final PlainTextContent 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 Lzc;c:Lzc;
  • Method Details

    • of

      static PlainTextContent of(String string)
      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 Lzc;a(Ljava/lang/String;)Lzc;
    • 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 Lzc;b()Ljava/lang/String;
    • getType

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