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

Testfor + Inventory bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w06b
    • Fix Version/s: Minecraft 14w07a
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: