#Items with potion effects
1 messages · Page 1 of 1 (latest)
This page should be helpful, just change some of the queries in it to test the mainhand rather than the armor slots: https://wiki.bedrock.dev/items/equipped-item-commands.html
You can also use q.is_sneaking to make it only work when you're crouching
