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

Can't Testfor With Specific NBT Tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8
    • None
    • Windows 8.1, Java 7
    • Unconfirmed

      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.

            Unassigned Unassigned
            redstonefreak589 redstonefreak589
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: