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

Testfor and Inventory (Re-Post)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w05b
    • None
    • Unconfirmed

      Hello, people, if you do testfor players with a inventory equipments. This were the bug start at. If you only has on one of pumpkin on our head (from example below). If you more same/different items on the equip/hotbar/inventory. Not found the matching any more and no more output either when I do stratification equip item on stratification slot should detect at only slot.

      Steps to Reproduce:
      1. Build a hopper clock with a ender pearl.
      2. Our output into a command block.
      3. Then put this command "

      /testfor @p {Inventory:[{id:"minecraft:pumpkin",Damage:0s,Count:1b,Slot:103b}]}

      "
      4. Another output to another command block has this "/effect @a 16 11 0"
      5. Has an item(s) on your hotbar and has a pumpkin on our head too.

            Unassigned Unassigned
            daoverlord James Blonde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: