Is there a way to do a /execute command if a /data command contains a certain value
Basically if I run
Continue to help post/data get entity @p Inventory
and it returns [{Slot: 0b, id:"minecraft:stick", Count: 1b}, {Slot: 1b, id:"minecraft:snow", Count: 1b}, etc.]
I want to be able to do a /execute if as long as the output of the /data command contains specifically {Slot: 0b, id:"minecraft:stick"