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.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic MessageComponentSerializermessage()A component serializer for converting betweenMessageandComponent.Methods inherited from interface net.kyori.adventure.text.serializer.ComponentSerializer
deseializeOrNull, deserialize, deserializeOr, deserializeOrNull, serialize, serializeOr, serializeOrNull
-
Method Details
-
message
A component serializer for converting betweenMessageandComponent.- Returns:
- serializer instance
-