mojira.dev
MCPE-175239

"on_dig" no longer works with 1.20.30 format version

After converting my add-on for my items to support 1.20.30, I realised the "on_dig" in the digger component no longer works as it should, when it normally would. The event it leads to is supposed to make it lose durability.

However, I did try applying a fill command around the player in this event afterwards as a way to double check its function, and it seemed to work exclusively in creative, but not in survival, so it's not only damaging the tool that's not working.

I am more than 100% certain nothing is affecting the item itself, the only thing I changed was replacing creative_category with menu_category in the description. I thought it was a general issue with events, but the "on_hurt_entity" and "on_hit_block" under the weapon component executed the events just fine.

I used the error checker under creator in settings, and no errors appeared.

Thanks for reading.

Comments 2

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you please attach an example addon showcasing the issue?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Stratospheer

(Unassigned)

Unconfirmed

Windows

1.20.30

Retrieved