The following item interactions will trigger the minecraft:item_used_on_block
the criteria trigger twice:
Strip a log block with an axe
Wax on or wax off a copper block
Shear a head block of growing plants (Cave Vines, Twisting Vines, Weeping Vines and Kelp)
Steps to Reproduce:
Download the world below and join the world. The world contains a datapack that announces to chat when you do something triggering
minecraft:item_used_on_block.
Try the above behaviors.
Watch what the datapack announced in chat.
All of the behaviors caused twice announcements at the same time.
Why this issue counts:
Although this issue doesn't affect vanilla advancements much, some custom maps will use this trigger to listen for events and set the reward of the advancement as a function to execute commands, then immediately revoke the advancement to continue listening. In this case, this issue might cause potential problems.
Thank you for your report!
We're tracking this issue in MC-259075, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki