mojira.dev
MCPE-130064

[ADDONS] Damage modifier and molang are not accepted in the "minecraft:damage_sensor" component

A component called "minecraft:damage_sensor" (according to bedrock.dev (Fig. 2), a trustworthy source for this sort of information) is supposed to have a sub-component called "damage_modifier." This sub-component allows us to directly add or subtract from the amount of damage an entity will take in a specific scenario. Unfortunately, it does not actually exist (Fig. 1, first error). This really sucks because while "damage_multiplier," another sub-component, does exist, it only changes the percentage of the damage taken, not the exact value. And speaking of the sub-component that does work, apparently it won't accept molang (Fig. 1, second error). Molang is a key importance in addons that a component should always be compatible with, whenever possible. Fig. 3 is the code that doesn't work because of these two issues. It is for the defense and damage reduction systems to an addon that adds Terraria content into the game, and as far as I know, there isn't another way to achieve this system, so I'm basically stuck with this broken system until these two issues get fixed (if they even get looked into ._.). If it helps, I can split this post into two different reports, one focusing on each issue, so when you guys update the resolution status, you can differentiate between the two.

Attachments

Comments 3

Thank you for your report!

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

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 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.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 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.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

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

Bart Simpson

(Unassigned)

Unconfirmed

Windows

Windows 10

1.16.221 Hotfix

Retrieved