Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-151920

The command does not evaluate the selector argument "hasitem" -> data.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.80.23 Preview, 1.19.30.22 Preview, 1.19.20.20 Preview, 1.19.10.22 Preview, 1.19.10.21 Preview, 1.19.10.20 Preview, 1.19.0.20 Beta, 1.18.20.23 Beta, 1.18.20.21 Beta, 1.18.30, 1.18.31, 1.19.1 Switch, 1.19.0, 1.19.2 Hotfix, 1.19.10, 1.19.22 Hotfix, 1.19.31 Hotfix, 1.19.41, 1.19.63, 1.19.73, 1.20.1 Hotfix, 1.20.12 Hotfix, 1.20.41 Hotfix
    • None
    • Confirmed
    • Multiple
    • 770283

      The command does not evaluate the selector argument "hasitem" -> data.

      Steps to Reproduce:

      1. Obtain blue concrete (data = 11)
      2. Type /testfor @s [hasitem= {item=concrete, data=5}

        ] in the chat

      Observed Results:
      The command successfully finds the player even though the player has concrete with a data value of 11.

      Expected Results:
      The command should not find the player.

      See video below.

            ConMaster2112 ConMaster2112
            Votes:
            39 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              CHK: