Interface EnchantItemEvent
-
- All Superinterfaces:
Cancellable,Event,InteractContainerEvent
- All Known Subinterfaces:
EnchantItemEvent.CalculateEnchantment,EnchantItemEvent.CalculateLevelRequirement,EnchantItemEvent.Post
public interface EnchantItemEvent extends InteractContainerEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEnchantItemEvent.CalculateEnchantmentTriggers when the enchantments for an item are calculated.static interfaceEnchantItemEvent.CalculateLevelRequirementTriggers when the enchantment costs for an item are calculated.static interfaceEnchantItemEvent.PostThis event is triggered when an item is enchanted at an enchanting table.-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
InteractContainerEvent.Close, InteractContainerEvent.Open
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intoption()The enchantment option.intseed()The seed for pseudo random enchantment generation.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
container, cursorTransaction
-
-