mojira.dev
MCPE-237921

The damage value of damage compoent is incorrect

The damage value is modulo 256

When I was making The Titans Addon, some damage value always higher than 255. But when the value sets 256, it actually can cause 0 damage;when I set it 1500, it can only causes 220 damage(1500-256*5).

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Please attach an example add-on that can be used to reproduce the issue.

hardzis1

(Unassigned)

Unconfirmed

Android

26.20.23/24 Preview

Retrieved