I'm trying to remove a specific, named, item if it is dropped on the floor. I have the following on my command block:
kill @e[type=Item] {Item:{tag:{display:{Name:"RedFlag"}}}
But it's removing all items, not just the one I want. What am I doing wrong?
I also tried
kill @e[type=Item] {Item:{id:"red_flower",Damage:2}}
But that didn't work either, it's still removing all items, even things that aren't red flowers!
e[name=<name>]
. At least I think you can do that.