When I do this command:
/testfor @e[type=Item,r=10] {Item:{id:"minecraft:stone"}}
And I drop a piece of stone, it finds the item, and outputs a comparator signal. But when I do THIS command:
/testfor @e[type=Item,r=10] {Item:{id:"minecraft:stone",display:{Name:"Stone Block"}}}
Or this one:
/testfor @e[type=Item,r=10] {Item:{id:"minecraft:stone",display:{Name:"StoneBlock"}}}
They both fail. I'm assuming it fails with all display tags, and certain other tags which I have not found, but I am not happy about this bug. It has been known for quite a while, and no one has fixed it. It's important to me that this is fixed, and I bet it is important to others too. I can't complete the map I'm building without being able to test for dropped items with a special display name.
Quote from MC-48534: