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

The hasitem command cannot detect "air" inside a players inventory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.73 Hotfix
    • None
    • Unconfirmed
    • Multiple

      for the past few years the hasitem Target Selector has not been able to detect when a player has an empty slot in their inventory, example: when "/testfor @s[hasitem=\{item=air}]" is executed (which is the closest we commanders can get to detecting an empty slot) we are met with the output: No target matched selector.

            ScottTV5324 ScottTV5324
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: