Interface MessageComponentSerializer
- All Superinterfaces:
ComponentDecoder<com.mojang.brigadier.Message,
,Component> ComponentEncoder<Component,
,com.mojang.brigadier.Message> ComponentSerializer<Component,
Component, com.mojang.brigadier.Message>
@Experimental
@NullMarked
@NonExtendable
public interface MessageComponentSerializer
extends ComponentSerializer<Component,Component,com.mojang.brigadier.Message>
A component serializer for converting between
Message
and Component
.-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageComponentSerializer
message()
A component serializer for converting betweenMessage
andComponent
.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 betweenMessage
andComponent
.- Returns:
- serializer instance
-