-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, 20w07a, 1.16.2, 1.19.4, 1.21
-
Confirmed
-
Statistics
The bug
stat.fallOneCm doesn't increase in a linear fashion. This causes the fall damage to be incorrect. For example, the player should die when jumping from 23 blocks, but doesn't. while he does at 24 blocks.
How to reproduce
- Load a new creative world, with cheats enabled.
- Create a scoreboard with the statistic minecraft.custom:minecraft.fall_one_cm with:
/scoreboard objectives add fallen minecraft.custom:minecraft.fall_one_cm /scoreboard objectives setdisplay sidebar fallen
- Fall from distance 3, 4, 5, 6 while taking note of the minecraft.custom:minecraft.fall_one_cm. Reset it after every fall.
- At distances 11-12, 16-17, 19-20 etc. The minecraft.custom:minecraft.fall_one_cm has the same value.
Fall damage is also the same at those levels, creating inaccurate fall damage.
After some testing, it turns out the score jumps at 0.609552546740036 from 0 to 1 (MC-99958), and at 1.194561548248788 from 1 to 2 (meaning that decreasing one of numbers' digit by one would give the lower score).
Attached files
- A screenshot of my debug screen data.
- A few screenshots of the process of getting the date from the minecraft.custom:minecraft.fall_one_cm
- An Excel file containing the values with a graph (x=height fallen from according the y value of f3 and y= data from minecraft.custom:minecraft.fall_one_cm
- relates to
-
MC-111286 minecraft.fly_one_cm does not increment linearly when flying small distances
- Open
-
MC-99958 stat.fallOneCm does not account for falling within 0.609552546740035 blocks
- Open
-
MC-121541 Scoreboard objective criteria for distance fallen doesn't track fall distance when player lands in liquid, powder snow, or cobweb
- Open