All Classes and Interfaces
Class
Description
Logic for combining enchantments in an anvil.
Result of an anvil combination operation.
Calculates anvil costs for enchantment operations.
Listener for anvil events to enable custom enchantment support.
The primary entry point for the Artificial Enchantments library.
Implementation of
ArtificialEnchantmentsAPI.Main plugin class for Artificial Enchantments library.
Helper for managing attribute modifiers on entities and items.
Handles block-break loot modification for enchanted tools.
Listener for block break events to apply loot modifiers.
Factory for creating
EnchantedBook instances.FoliaLib-backed implementation of
FoliaScheduler.Context for combat-related enchantment effects.
Event fired when a combat-related enchantment effect triggers.
Represents the type of combat interaction.
A scaling algorithm that returns a constant value regardless of level.
Context for consumable-related enchantment effects.
Event fired when a consumable-related enchantment effect triggers.
Factory for creating EffectContext implementations based on Bukkit events.
Pure functions for damage calculation and modification.
A scaling algorithm that approaches a maximum value with diminishing returns.
Base interface for all effect contexts.
Central dispatch spine for all enchantment effects.
Enumeration of all dispatchable event types.
Context wrapper for executing enchantment effect handlers with exception isolation.
Exception thrown when strict mode is enabled and an effect handler fails.
Execution mode for handling effect handler failures.
API for creating and managing enchanted books with custom enchantments.
Builder for creating enchanted books.
Builder implementation for creating enchanted books.
Implementation of
EnchantedBook using native ItemMeta storage.Base class for all enchantment effect events dispatched through the event bus.
Defines a custom enchantment that can be registered with the library.
Builder for creating enchantment definitions.
Rarity tiers for enchantments, affecting trading and loot weights.
Internal implementation of the EnchantmentDefinition.Builder interface.
Immutable implementation of EnchantmentDefinition.
Handler for enchantment effects triggered by game events.
Bukkit event listener that bridges gameplay events into the
EffectDispatchSpine.Event bus for subscribing to enchantment-triggered effects.
Represents a subscription to an event type.
Implementation of
EnchantmentEventBus.Internal registry manager for tracking enchantment definitions.
Listener for enchantment table events to enable custom enchantment support.
Scheduled task that scans all online players' held items and armor,
dispatching
EffectDispatchSpine.DispatchEventType.HELD_TICK
and EffectDispatchSpine.DispatchEventType.ARMOR_TICK effects.Generates enchantment offers for the enchantment table.
Record representing a generated enchantment offer.
Configuration API for customizing enchantment table behavior per-enchantment.
Builder for constructing table configurations.
Builder implementation for
EnchantTableConfiguration.Immutable implementation of
EnchantTableConfiguration.Dispatches effects through the event bus to registered listeners.
Exponential scaling algorithm: base * multiplier^(level - 1).
Context for fishing-related enchantment effects.
Event fired when a fishing-related enchantment effect triggers.
Represents the state of a fishing action.
Thread-safe scheduler abstraction for Folia and non-Folia servers.
Represents a scheduled task that can be cancelled.
Context for player interaction enchantment effects.
Event fired when an interaction-related enchantment effect triggers.
Context for item-related enchantment effects.
A scoped, developer-friendly API for querying enchantments on items.
Implementation of
ItemEnchantmentQuery that delegates to
ItemStorage and EnchantmentRegistryManager.Service for mutating item enchantment state.
Event fired when an item-related enchantment effect triggers.
Abstraction for storing and retrieving enchantment data on items.
Processes items for visual customization on a per-player basis.
Context object passed to lore formatters.
Functional interface for calculating scaled values from enchantment levels.
Linear scaling algorithm: base + (level - 1) * increment.
Context for loot modification during block break events.
Functional interface for modifying loot drops from enchanted items.
Registry for managing loot modifiers per-enchantment.
Thread-safe implementation of
LootModifierRegistry.Native-first implementation of ItemStorage.
Handles auxiliary metadata storage in NBT for items.
Optional PacketEvents adapter for Artificial Enchantments.
Per-player visual customization preferences.
Context passed to custom lore formatters.
Paper 1.21+ PluginBootstrap implementation for registering custom enchantments
via the native registry system during the bootstrap phase.
Converts library EnchantmentDefinition instances to Paper's native
EnchantmentRegistryEntry.Builder format for registration during bootstrap.
Bridge between the library's enchantment registry and Paper's native
enchantment registry.
Cleans up event bus subscriptions when dependent plugins disable.
Context for projectile-related enchantment effects.
Event fired when a projectile-related enchantment effect triggers.
Defines a parameterized scaling algorithm that can be registered
and used to create
LevelScaling instances.Immutable metadata for a registered scaling algorithm.
Registry for named scaling algorithms.
Thread-safe implementation of ScalingAlgorithmRegistry.
Holder for the scaling algorithm registry instance.
Internal scaling utilities for the effect dispatch spine.
Stepped scaling algorithm with linear interpolation between defined levels.
Context for periodic tick-based enchantment effects.
Synthetic event used to carry tick-scan data into the dispatch spine.
Event fired periodically when an enchanted item is held or worn as armor.
Context for tool-related enchantment effects.
Event fired when a tool-related enchantment effect triggers.
Represents the type of tool interaction.
Dispatches effects to typed callback handlers (EnchantmentEffectHandler implementations).
Context for weapon-related enchantment effects.
Event fired when a weapon-related enchantment effect triggers.