Enum Class ExtensionIntegration

java.lang.Object
java.lang.Enum<ExtensionIntegration>
dev.rono.igniscore.api.extension.ExtensionIntegration
All Implemented Interfaces:
Serializable, Comparable<ExtensionIntegration>, Constable

public enum ExtensionIntegration extends Enum<ExtensionIntegration>
Optional platform integrations declared in extension manifests via requires-integrations.

Extensions that list an integration may degrade or skip behavior when the integration is unavailable on the current platform (for example Sponge noop protocol).

See Also:
  • Enum Constant Details

    • PROTOCOL

      public static final ExtensionIntegration PROTOCOL
      Client protocol hooks (ProtocolLib on Bukkit). Used for fake explosions, camera attachment, and other packet-level effects.
    • NBT_ENTITY

      public static final ExtensionIntegration NBT_ENTITY
      Persistent item and entity NBT access. Required for tools that stamp data onto items or read entity metadata across sessions.
    • REGION

      public static final ExtensionIntegration REGION
      Region editing for shaped blasts and transforms. WorldEdit is used when available; otherwise Ignis falls back to native world editing.
    • HOLOGRAM

      public static final ExtensionIntegration HOLOGRAM
      Floating text and countdown holograms. FancyHolograms or similar plugins are used when available; otherwise Ignis provides a lightweight fallback.
  • Method Details

    • values

      public static ExtensionIntegration[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExtensionIntegration valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • manifestKey

      public String manifestKey()
      Returns:
      YAML manifest token for this integration
    • fromManifest

      public static ExtensionIntegration fromManifest(String raw)
      Parses a manifest entry (case-insensitive, hyphen or underscore).
      Throws:
      IllegalArgumentException - if the token is unknown