I'm playing Hexxit-Modpack, and the Minecraft version is 1.5.2. I want to build a small shop, and for this I need a clear command. I found some on the Internet, but nothing works for me.
I just want a piece of an item to be cleared and not the whole stack. Maybe you guys know too if it is possible to ask if the player has the item in the inventory.