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

Damage tag not working in /testfor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w21b, Minecraft 14w25b, Minecraft 14w26c
    • Fix Version/s: Minecraft 14w30b
    • Labels:
      None
    • Environment:
      ASUS Computer, Windows 8.1, Java 7 Update 60
    • Confirmation Status:
      Community Consensus

      Description

      I was creating a map, when I encountered a problem in testing for dropped items with damage values. It looks like the Damage tag doesn't work in /testfor. I dropped a sand item, then used /testfor @e[type=Item] {Item:{id:minecraft:sand,Damage:0s,Count:1}}. Minecraft responded with, "item.tile.sand.default did not match the required data structure". I tried the same thing with red sand. I used, "/testfor @e[type=Item] {Item:{id:minecraft:sand,Damage:1s,Count:1}}" This time minecraft said, "item.tile.sand.red did not match the required data structure" I am pretty sure this is a bug. I tested everything multiple times.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                _Supercat8835_ Jira Acount
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: