Class BukkitComponentSerializer


  • @Deprecated
    public final class BukkitComponentSerializer
    extends java.lang.Object
    Deprecated.
    for removal, use BukkitComponentSerializer instead
    A pair of component serializers for Bukkit.
    Since:
    4.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static @NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializer gson()
      Deprecated.
      Gets the gson component serializer.
      static @NotNull net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer legacy()
      Deprecated.
      Gets the legacy component serializer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • legacy

        @NotNull
        public static @NotNull net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer legacy()
        Deprecated.
        Gets the legacy component serializer.
        Returns:
        a legacy component serializer
        Since:
        4.0.0
      • gson

        @NotNull
        public static @NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializer gson()
        Deprecated.
        Gets the gson component serializer.

        Not available on servers before 1.8, will be null.

        Returns:
        a gson component serializer
        Since:
        4.0.0