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

Testfor + Inventory bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w07a
    • Minecraft 14w06b
    • 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 item on your hotbar and has a pumpkin on our head too.

        1. 2014-02-02_21.52.02.png
          200 kB
          Kumasasa
        2. 2014-02-02_21.52.31.png
          272 kB
          Kumasasa
        3. 2014-02-02_21.52.53.png
          150 kB
          Kumasasa
        4. 2014-02-14_08.31.22.png
          381 kB
          James Blonde

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

              Created:
              Updated:
              Resolved: