Inventory events¶
This is the complete list of inventory events, which also covers crafting, furnaces, brewing stands and villager trades. See the event list for how to read the table.
| Event | When it happens | Can you cancel it? |
|---|---|---|
BrewEvent |
A brewing stand finishes brewing | Yes |
BrewingStandFuelEvent |
A brewing stand uses up fuel | Yes |
CraftItemEvent |
A player takes an item out of a crafting grid | Yes |
FurnaceBurnEvent |
A furnace starts burning a fuel | Yes |
FurnaceExtractEvent |
A player takes smelted items out of a furnace | No |
FurnaceSmeltEvent |
A furnace finishes smelting an item | Yes |
FurnaceStartSmeltEvent |
A furnace starts smelting an item | No |
HopperInventorySearchEvent |
A hopper looks for an inventory to pull from or push into | No |
InventoryClickEvent |
A player clicks a slot in an inventory | Yes |
InventoryCloseEvent |
A player closes an inventory | No |
InventoryCreativeEvent |
A creative-mode player changes a slot | Yes |
InventoryDragEvent |
A player drags an item across several slots | Yes |
InventoryMoveItemEvent |
An item moves between inventories, like a hopper moving items | Yes |
InventoryOpenEvent |
A player opens an inventory | Yes |
InventoryPickupItemEvent |
A hopper picks up a dropped item | Yes |
PrepareAnvilEvent |
Items are put in an anvil, before the result is taken | No |
PrepareGrindstoneEvent |
Items are put in a grindstone, before the result is taken | No |
PrepareItemCraftEvent |
Items are put in a crafting grid, before the result is taken | No |
PrepareSmithingEvent |
Items are put in a smithing table, before the result is taken | No |
SmithItemEvent |
A player takes an item out of a smithing table | Yes |
TradeSelectEvent |
A player picks a trade from a villager | Yes |