Elementium Sign in

Take an item

Take items out of a player's inventory, as many as they have up to the amount. Taken says how many.

Try it on your server

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

What it gives back

Related

All Minecraft elements