Mojira Archive
MC-102407

Testfor does not work with dropped items that have a damage value

There is an issue with testing for dropped items with a damage value that seems to have reappeared after being fixed in the past. I entered '/testfor @e[type=Item] {Item:{id:minecraft:sand,Damage:1s,Count:1}}' next to some dropped red sand and it gave the error message 'item.tile.sand.red did not match the required data structure'. This should have found the item.

Update: This seems to work in command blocks but still outputs an error message if typed in the chat bar.

Duplicate

Ben Standen

2016-05-22, 06:31 PM

2016-05-22, 07:04 PM

2016-05-22, 07:04 PM

0

2

Unconfirmed

Minecraft 1.9.4

-