It's still an issue in the 1.18.31 version. Here's also a little video to show the bug, hope this helps.
Video of the bug
Yes, here's a pack I made quickly. We can use the item with the component minecraft:on_use, and it should if we keep using it show the word 'Hello', hope it would help.
[media]
It's still an issue in the 1.18.2 version.
Yes, I have the same issue, when using the "q.is_using_item" it will not detect if we use the component on_use in our custom item. It's still an issue in the 1.17.40 update. If this would be fixed it would be fabulous!
Hello, after watching closely the information I wrote, I see that I specified the wrong platform, the bug can be made on every bedrock device (Windows 10, Xbox, PE,...), sorry for the inconvenience.
Do I need to make another ticket? Or this one can be re-open?
Hello, I'm experiencing the same issue, here is more information about it :
Steps to Reproduce:
Open chat to write the following command : /execute @s[hasitem={item=air,location=slot.weapon.mainhand}] ~~~ /say TEST
-Execute the command
Observed Results:
"No targets matched selector", Even if our main hand or any other slot in our inventory we want to test is empty it will never execute the /say command.
Expected Results:
When the slot is empty the command should run when we test if there's air.