Starts when · Starts a flow
When items are dragged across slots
Starts when a player drags a stack across several slots by holding the mouse button.
m.on.inventory_drag
In a flow
“When items are dragged across slots, the steps wired after it run.”
When inventory drag → Broadcast {trigger.result}
What it does
Starts when a player drags a stack across several slots by holding the mouse button. It starts a flow, and gives the steps after it values about what happened. It gives 5 values later steps can use. Find it under Starts when in the palette.
When to use it
Use it to start a flow when items are dragged across slots.
When not to
If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.
Typical wiring
Values it gives
- Cursor Item
-
The cursor of the inventory drag. e.g. 1× Stone
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more
- Old cursor Item
-
The old cursor of the inventory drag. e.g. 1× Stone
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more
- Result Text
-
The result of the inventory drag. e.g. minecraft:stone
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Type Text
-
The type of the inventory drag. e.g. minecraft:stone
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Who clicked Entity
-
The who clicked of the inventory drag. e.g. Zombie
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more