public static interface EnchantItemEvent.Post extends ClickInventoryEvent, EnchantItemEvent
ClickInventoryEvent.Creative, ClickInventoryEvent.Double, ClickInventoryEvent.Drag, ClickInventoryEvent.Drop, ClickInventoryEvent.Middle, ClickInventoryEvent.NumberPress, ClickInventoryEvent.Primary, ClickInventoryEvent.Recipe, ClickInventoryEvent.Secondary, ClickInventoryEvent.Shift
ChangeInventoryEvent.Equipment, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand, ChangeInventoryEvent.Transfer
InteractInventoryEvent.Close, InteractInventoryEvent.Open
EnchantItemEvent.CalculateEnchantment, EnchantItemEvent.CalculateLevelRequirement, EnchantItemEvent.Post
Modifier and Type | Method and Description |
---|---|
Slot |
getEnchantingSlot()
Returns the slot of the enchanted item.
|
getSlot
filter, getTransactions
isCancelled, setCancelled
getCursorTransaction
getTargetInventory
getCause, getContext, getSource
getOption, getSeed
Slot getEnchantingSlot()