Remove every item of a type
Remove every stack of one item from a player, armour and off hand included.
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 enters a region → Remove every item of a type minecraft:tnt.
Also called
remove all, clear item, confiscate, ban item, purge
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
What it gives back
- Removed