-
Bug
-
Resolution: Unresolved
-
None
-
1.18.30, 1.18.31, 1.19.11 Hotfix, 1.19.20, 1.19.60, 1.20.0, 1.20.30, 1.20.41 Hotfix, 1.20.51 Hotfix, 1.20.60, 1.20.73 Hotfix
-
None
-
Confirmed
-
Multiple
-
876073
The hasitem filter requires an item. It displays a syntax error when the item is invalid. However, ‘air’ is valid to input but filter cannot detect an entity with ‘air’ (no targets found). /replaceitem allows ‘air’ as a valid input so why doesn’t the hasitem filter do the same?
- is duplicated by
-
MCPE-160431 hasitem selector not working when testing for air
- Resolved
-
MCPE-171954 air id Why doesn't it work?
- Resolved
-
MCPE-172716 You can't detect an air item in "hasitem" on main hand, but you can replace your slot with air.
- Resolved
-
MCPE-175389 hasitem air won't work
- Resolved
-
MCPE-177046 Why does /testfor @e[hasitem={item=air}] not allow you to check for players without a item within their inventory?
- Resolved
-
MCPE-180335 The hasitem command cannot detect "air" inside a players inventory
- Resolved
- relates to
-
MCPE-165334 Hasitem target selector cannot use exclamation symbol "!" Which is used for invert the selection
- Open