On Inventory Item Move (Event) — Skript
Addon: Skript · Category: Event · Since: 2.8.0
Syntax
[on] inventory item (move|transport)Description
Called when an entity or block (e.g. hopper) tries to move items directly from one inventory to another. When this event is called, the initiator may have already removed the item from the source inventory and is ready to move it into the destination inventory. If this event is cancelled, the items will be returned to the source inventory.
Event Values
- event-block
- event-inventory
- event-itemstack
- future event-block
- future event-inventory
Examples
on inventory item move:
broadcast "%holder of past event-inventory% is transporting %event-item% to %holder of event-inventory%!"