#How do I see if a person doesn't have a certain item in their inventory?

1 messages · Page 1 of 1 (latest)

past rapids
#
[hasitem={item=stone,quantity=0}]```
lime oyster
#

But this is to see if you have the item in the inv

#

I want the opposite

past rapids
#

Look at it again

#

Very closely

lime oyster
#

?

past rapids
#

The command

#

The hasitem filter

acoustic kernel
#

execute as @a at @s unless entity @s[hasitem={item=<itemName>}] run <command>

#

Or quantity=0

lime oyster
#

that is if the item is in the inventory I want the opposite that is not in the inventory

#

simple thing to understand bro