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

'testforblock' Command not working with 'Items' datatag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06b
    • None
    • Anywhere you can experiment with Command Blocks.
    • Unconfirmed

      In version 1.7.4 you could type:
      "testforblock ~ ~1 ~ hopper 8 {Items:[0:

      {Slot:0b,id:340s,Count:1b,Damage:0s}

      ]}"
      to search for a hopper with a book in its first slot.
      However, this command no longer works in any of the 1.8 snapshots. It also does not work with chests, droppers or any other items with their own inventory.

        1. Testforblock Error.png
          103 kB
          Reather Antonio Giovanni de Trinidad Hellsong

            Unassigned Unassigned
            ReatherH Reather Antonio Giovanni de Trinidad Hellsong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: