Class JacksonPaper

All Implemented Interfaces:
Versioned

public class JacksonPaper extends JacksonBukkitModule
Class adding support for classes implementing ConfigurationSerializable.

It also provides some additional serialization for:

  • Constructor Details

    • JacksonPaper

      @Internal public JacksonPaper(boolean hexColors, boolean legacyItemStackSerialization, @Nullable @Nullable JsonDeserializer<net.kyori.adventure.text.Component> componentDeserializer, @Nullable @Nullable JsonSerializer<net.kyori.adventure.text.Component> componentSerializer)
      Create a new JacksonPaper module.
      Parameters:
      hexColors - true to serialize colors as hex by default
      legacyItemStackSerialization - true to use spigot based serialization
    • JacksonPaper

      @Internal public JacksonPaper()
      Create a new JacksonPaper module.
  • Method Details