Package org.spongepowered.api.event.item.inventory
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.item.inventory
-
ClassDescriptionAn interaction resulting in dropping an item.An interaction dropping an entire stack.An interaction dropping a single item.Fires after an
Item
has been picked up.Fires before anItem
is picked up.Fired when aPlayer
swaps it's hands.This event is fired after the item is taken out of the output slot.This event is fired before the item is taken out of the output slot but after completing the recipe in the grid.Called whenever anItem
is dropped from another source.Triggers when the enchantments for an item are calculated.Triggers when the enchantment costs for an item are calculated.This event is triggered when an item is enchanted at an enchanting table.Base event for all interactions with anItemStack
in hand.Called when a player swings its hand in the air.Called when a player interacts with an item in hand.Fired when anInventory
transfers items into another.Fires after anInventory
transferred an item into an other inventory.Fired before anInventory
attempts to transfer any items.Fires whenever the left and right slots of an anvil are filled and a new result is computed.Fired when anItemStack
is used.Fired when an item is finished 'normally', e.g.Called afterUseItemStackEvent.Finish
, when the item in the entity's hand is replaced.Called before an entity's used item state is reset.Called beforeUseItemStackEvent.Tick
when a player starts using anItemType
, typically when they hold right mouse.Called afterUseItemStackEvent.Tick
when anItemType
has finished being used.Called afterUseItemStackEvent.Start
during each tick as anItemType
is being used.