public final class ComponentSerializers
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ComponentSerializer<Component,Component,java.lang.String> |
JSON
A component serializer for JSON-based serialization and deserialization.
|
static LegacyComponentSerializer |
LEGACY
Deprecated.
legacy
|
static PlainComponentSerializer |
PLAIN
Deprecated.
not recommended for general use
|
public static final ComponentSerializer<Component,Component,java.lang.String> JSON
@Deprecated public static final LegacyComponentSerializer LEGACY
Legacy does not support more complex features such as, but not limited
to, ClickEvent and HoverEvent.
@Deprecated public static final PlainComponentSerializer PLAIN
Plain does not support more complex features such as, but not limited
to, colours, decorations, ClickEvent, and HoverEvent.