mojira.dev
MCPE-181142

Custom foods don't run events when consumed

In previous versions of the game, my custom foods and potions would give effects when consumed. However, updating to the newest version has broken this feature. I have here an example of my code (the add-on was created in Bridge), which shows that the event is correctly linked to the food component.
Edit: Added a sample add-on as requested.

Attachments

Comments 7

having this issue across a number of different packs we use with foods and potions.

having this issue across a number of different packs we use with foods and potions.

Please attach a sample add-on that can be used to reproduce the issue.

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

I have added a sample add-on as requested. It requires Holiday Creator Features enabled. If needed, I can change it from .zip to .mcaddon.

Recent testing has shown that this issue is no longer occurring with the latest version, however I am still unsure what might have caused this issue.

TheSmartOwl0158

(Unassigned)

Unconfirmed

Windows

Windows 11

1.20.80

Retrieved