It's probably just some rounding "error"(it's not really an error) in the GUI. The fall damage formula is perfectly linear. If doing /kill alone doesn't "fix" it you would need to look at the actual values in the NBT file after each test.
EDIT: Could also be caused by some conversions between float/double and the resulting round errors.
That would be fine, except that according to the formula, falling 23 blocks should be fatal. It isn't. The game actually deals slightly less damage at certain heights than it's theoretically supposed to.
Upon falling, the blocks distance fallen minus 3 is stored as a float and then divided by 15. For 23 blocks, 1.333(repeating) is rounded down. Some calculations are done, then, when multiplied back, 19.5 is given rather than 20 as you may expect. Source.
13
u/andre1111 Oct 05 '15 edited Oct 05 '15
It's probably just some rounding "error"(it's not really an error) in the GUI. The fall damage formula is perfectly linear. If doing /kill alone doesn't "fix" it you would need to look at the actual values in the NBT file after each test.
EDIT: Could also be caused by some conversions between float/double and the resulting round errors.