Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-102407

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.9.4
    • None
    • Windows 8.1
    • Unconfirmed

      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.

            Unassigned Unassigned
            Benjam438 Ben Standen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: