A full-hearted player could die drom falling 22.00001 blocks instead of 23 blocks.
Relates to MC-167125.
Steps to reproduce:
1.Switch to survival (Make sure you are fall-hearted and no protection)
2./tp @s ~ ~22.00001 ~
3.Observe the result.
Observed result:
You will immediately die when hitting ground.
Expected result:
You will still have a half heart.
Linked issues
relates to 2
Attachments
Comments 3
You have typed the wrong "relates to" bug, it's MC-167125
Also, falling from (n+0.00001) to (n+0.99999) blocks is same as falling from (n+1) blocks.
Falling from these heights should be non-integer damage.
(I suggest to change the falling damage calculation formula from Damage=Height-3 to Damage=Height-3.3 to prevent MC-279281 or unfix MC-167125 and make it works as intended)