Enum Class ExtensionIntegration
- All Implemented Interfaces:
Serializable, Comparable<ExtensionIntegration>, Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFloating text and countdown holograms.Persistent item and entity NBT access.Client protocol hooks (ProtocolLib on Bukkit).Region editing for shaped blasts and transforms. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionIntegrationfromManifest(String raw) Parses a manifest entry (case-insensitive, hyphen or underscore).static ExtensionIntegrationReturns the enum constant of this class with the specified name.static ExtensionIntegration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROTOCOL
Client protocol hooks (ProtocolLib on Bukkit). Used for fake explosions, camera attachment, and other packet-level effects. -
NBT_ENTITY
Persistent item and entity NBT access. Required for tools that stamp data onto items or read entity metadata across sessions. -
REGION
Region editing for shaped blasts and transforms. WorldEdit is used when available; otherwise Ignis falls back to native world editing. -
HOLOGRAM
Floating text and countdown holograms. FancyHolograms or similar plugins are used when available; otherwise Ignis provides a lightweight fallback.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
manifestKey
- Returns:
- YAML manifest token for this integration
-
fromManifest
Parses a manifest entry (case-insensitive, hyphen or underscore).- Throws:
IllegalArgumentException- if the token is unknown
-