In a map I am making, to enter a certain place someone must have 3 iron ingots to enter. I've tried using the /clear
command, but if they have more than 3 they lose it all. Any ideas on how to fix this?
Minecraft Java Edition – How to Remove a Certain Amount of Items from Someone’s Inventory
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft Java Edition – How to Clear Armor in Inventory
- Minecraft – How to fill in only certain blocks in minecraft 1.11.2
- minecraft-java-edition – How to Make Only Certain Blocks of the Same Type Breakable in Minecraft Java Edition
- Minecraft Java Edition – How to Take Away a Certain Amount of Items from Player and Give Back an Item?
Best Answer
You should be able to achieve it with clear by adding a maxCount
So it should be