Interface MessageComponentSerializer

All Superinterfaces:
net.kyori.adventure.text.serializer.ComponentDecoder<com.mojang.brigadier.Message, net.kyori.adventure.text.Component>, net.kyori.adventure.text.serializer.ComponentEncoder<net.kyori.adventure.text.Component, com.mojang.brigadier.Message>, net.kyori.adventure.text.serializer.ComponentSerializer<net.kyori.adventure.text.Component, net.kyori.adventure.text.Component, com.mojang.brigadier.Message>

@NonExtendable public interface MessageComponentSerializer extends net.kyori.adventure.text.serializer.ComponentSerializer<net.kyori.adventure.text.Component, net.kyori.adventure.text.Component, com.mojang.brigadier.Message>
A component serializer for converting between Message and Component.
Since:
1.20.6
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    A component serializer for converting between Message and Component.

    Methods inherited from interface net.kyori.adventure.text.serializer.ComponentSerializer

    deserialize, deserializeOr, deserializeOrNull, serialize, serializeOr, serializeOrNull
  • Method Details

    • message

      static MessageComponentSerializer message()
      A component serializer for converting between Message and Component.
      Returns:
      serializer instance
      Since:
      1.20.6