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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.9.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 8.1
    • Confirmation Status:
      Unconfirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: