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 Detail

      • legacy

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

        @NotNull
        public static @NotNull 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