-
Bug
-
Resolution: Duplicate
-
None
-
1.20.41 Hotfix
-
None
-
Creative
-
Unconfirmed
-
Windows
i am trying to make a minecraft map and i have to check if the player has nothing in their 12th and 16th slot and so i put this in the command block
/testfor @e[hasitem=\{item=air,location=slot.inventory,slot=11}]
but for some reason this doesnt work i think @e[hasitem=\{item=air}] should work for players lacking a item in their inventory because i see no reason for it not to
- duplicates
-
MCPE-155675 Hasitem filter allows ‘air’ to be inputted as an item but filter cannot detect it
- Reopened