Interface EnchantItemEvent

All Superinterfaces:
Cancellable, Event, InteractContainerEvent
All Known Subinterfaces:
EnchantItemEvent.CalculateEnchantment, EnchantItemEvent.CalculateLevelRequirement, EnchantItemEvent.Post

public interface EnchantItemEvent extends InteractContainerEvent
  • Method Details Link icon

    • seed Link icon

      int seed()
      The seed for pseudo random enchantment generation.
      Returns:
      the seed
    • option Link icon

      int option()
      The enchantment option. 1, 2 or 3
      Returns:
      The enchantment option