| Name | inventory picks up item |
| Event Lines | <inventory> picks up <item> |
| Triggers | when a hopper or hopper minecart picks up an item. |
| Generated Examples | after merchant picks up wooden_pickaxe:
on inventory picks up cocoa_beans: |
| Contexts | <context.inventory> returns the InventoryTag that picked up the item.
<context.item> returns the ItemTag.
<context.entity> returns a EntityTag of the item entity.
|
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Item |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/item/InventoryPicksUpItemScriptEvent.java#L14 |