Mojira Archive
MCPE-154350

/damage only allows integers even though damage can be fractional now

From the 1.18.20.27 changelog:

Damage is now calculated more accurately, we now properly calculate and store partial damage for larger damage

This ostensibly brings Bedrock into parity with the changes Java made back in 2013. However, /damage still can't do partial damage.

/damage @p 0.5

Expected behavior
You take a quarter-heart of damage

Actual behavior
Syntax error

Unresolved

[Mod] tryashtar

2022-04-21, 09:37 PM

2025-01-30, 09:40 PM

5

2

Confirmed

769567

1.20.20.20 Preview - 1.21.60.28 Preview1.20.20.20 Preview, 1.19.0.27 Preview, 1.19.0.26 Beta, 1.18.30, 1.21.60.28 Preview

-