Take an item
Take items out of a player's inventory, as many as they have up to the amount. Taken says how many.
A Minecraft element (a step) in Items & inventories. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player clicks a menu slot → If Has item 5 minecraft:emerald → Take an item: 5 minecraft:emerald.
Also called
take, take item, remove item, pay with items, consume, cost
Works as a data pack?
Yes. A vanilla data pack does this exactly as the plugin does.
What you give it
- Player
What it gives back
- Taken