public interface EnchantItemEvent extends TargetContainerEvent
Modifier and Type | Interface and Description |
---|---|
static interface |
EnchantItemEvent.CalculateEnchantment
Triggers when the enchantments for an item are calculated.
|
static interface |
EnchantItemEvent.CalculateLevelRequirement
Triggers when the enchantment costs for an item are calculated.
|
static interface |
EnchantItemEvent.Post
This event is triggered when an item is enchanted at an enchanting table.
|
Modifier and Type | Method and Description |
---|---|
int |
getOption()
The enchantment option.
|
int |
getSeed()
The seed for pseudo random enchantment generation.
|
getTargetInventory
getCause, getContext, getSource