The command block does not clear a certain amount of block you set it too. It will only clear ALL of the Item. Ex:
/clear @p [ID] -Works
/clear @p [ID] # -Doesn't Work
I found this bug when I was trying to make a shop on my vanilla server but I could not clear a certain amount of what I'm using as currency.
Please fix this Bug
-Drew
Comments 9
The they should find a way to clear a certain amount . It would be good for multiple uses in Minecraft. Anyways...
😛
Suggestions go to http://www.minecraftforum.net/forum/1-suggestions/. This is not a place for feature requests.
If you use /clear (block) (amount) (data) or something along those lines in game ( not from a command block, manually entered, it works fine, please reopen, I want to to something like this too!
This should still be considered a bug.
Seeing /clear as the opposite of /give it should have the same possible arguments. So when /give have <name> <item> [amount] [meta], /clear should likewise have <name> [item] [amount] [meta].
I strongly suggest activating this as a bug again.
No, if they change the /clear, it will break all old maps and operator are used to use the second parameters for the meta.
If you do /clear command with a certain value you want to clear, it's also clear item even though the certain value you chose is lower. Fo example you do /clear @p emerald 10 and you have more than 10 emerald it will only less 10 to your item but if you only have 2 and you want to clear is 10 ot should also work it will clear your 2 emerald. Not a bug
Not a bug. The second value is not the amount, it is the data value AKA damage value of the item.
The clear command will alway clear all items of a kind.