mojira.dev
MC-279301

Player dies by falling from 22.00001 blocks instead of 23 blocks

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

Attachments

Comments 3

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)

You have typed the wrong "relates to" bug, it's MC-167125

confirmed in 25w02a

COMETC2021A1

Panda4994

Community Consensus

Platform

Important

Player

25w02a

25w03a

Retrieved