Class PaperFeatures

java.lang.Object
de.eldoria.jacksonbukkit.util.PaperFeatures

public class PaperFeatures extends Object
Class used to check for api features of a Paper server.
  • Field Details

    • IS_RGBA

      public static final boolean IS_RGBA
      True when Color supports alpha values.
    • HAS_SERIALIZE_AS_BYTES

      public static final boolean HAS_SERIALIZE_AS_BYTES
      True when ItemStack supports ItemStack#serializeAsBytes()
    • HAS_MINI_MESSAGE

      public static final boolean HAS_MINI_MESSAGE
      True when MiniMessages is present
    • HAS_COMPONENT_COMPACT

      public static final boolean HAS_COMPONENT_COMPACT
      True when MiniMessages is present
    • HAS_ADVENTURE

      public static final boolean HAS_ADVENTURE
      True when Adventure is present
  • Constructor Details

    • PaperFeatures

      public PaperFeatures()