Interface LegacyComponentSerializer

All Superinterfaces:
Buildable<LegacyComponentSerializer,LegacyComponentSerializer.Builder>, ComponentDecoder<String,TextComponent>, ComponentEncoder<Component,String>, ComponentSerializer<Component,TextComponent,String>

A legacy component serializer.

Legacy does not support more complex features such as, but not limited to, ClickEvent and HoverEvent.

Since:
4.0.0
  • Field Details

    • SECTION_CHAR

      static final char SECTION_CHAR
      The legacy character used by Minecraft. ('ยง')
      Since:
      4.0.0
      See Also:
    • AMPERSAND_CHAR

      static final char AMPERSAND_CHAR
      The legacy character frequently used by configurations and commands. ('&')
      Since:
      4.0.0
      See Also:
    • HEX_CHAR

      static final char HEX_CHAR
      The legacy character used to prefix hex colors. ('#')
      Since:
      4.0.0
      See Also:
  • Method Details