mojira.dev
MC-278329

Some item interactions trigger item_used_on_block the criteria trigger twice at the same time

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:

  1. 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.

  2. Try the above behaviors.

  3. Watch what the datapack announced in chat.

  4. 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.

Linked issues

Attachments

Comments 1

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

BoredYukolin

(Unassigned)

Unconfirmed

(Unassigned)

24w46a

Retrieved