Mojira Archive
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.

Incomplete

Stratospheer

2023-09-22, 01:53 AM

2023-12-27, 01:35 PM

2023-12-27, 01:35 PM

0

0

Unconfirmed

1.20.30

-