Class MinecraftComponentSerializer

java.lang.Object
net.kyori.adventure.text.serializer.craftbukkit.MinecraftComponentSerializer
All Implemented Interfaces:
ComponentSerializer<Component,Component,Object>

@Deprecated public final class MinecraftComponentSerializer extends Object implements ComponentSerializer<Component,Component,Object>
Deprecated.
for removal, use MinecraftComponentSerializer instead.
A component serializer for net.minecraft.server.<version>.IChatBaseComponent.

Due to Bukkit version namespaces, the return type does not reflect the actual type.

Color downsampling will be performed as necessary for the running server version.

If not isSupported(), an UnsupportedOperationException will be thrown on any serialize or deserialize operations.

Since:
4.0.0
See Also:
  • Constructor Details

    • MinecraftComponentSerializer

      public MinecraftComponentSerializer()
      Deprecated.
  • Method Details