How to remove a certain amount of something from someone's inventory

How to remove a certain amount of something from someone's inventory - From above of crop anonymous economist calculating total amount of income using calculator app on cellphone near piles of greenbacks and notebook with pen

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?






Pictures about "How to remove a certain amount of something from someone's inventory"

How to remove a certain amount of something from someone's inventory - Liquid toilet cleaner pouring in toilet bowl
How to remove a certain amount of something from someone's inventory - From above crop unrecognizable person with microfiber cloth wearing yellow rubber glove and cleaning white marble tabletop of vanity table with washbasin in bathroom
How to remove a certain amount of something from someone's inventory - From above of crop anonymous person in yellow rubber protective glove washing shower cabin glass with sponge and detergent



How do you throw something out of your inventory fast?

Chat Commands First, type /kill @e[type=item] in the chat and press enter to remove all dropped items in your Minecraft world instantly. However, you will need to have operator status and enable cheats in your world for this command to work.



How to Change Someone’s Mind - 5 Rules to Follow




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Karolina Grabowska, Karolina Grabowska, Karolina Grabowska, Karolina Grabowska