Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-120076

stat.fallOneCm doesn't increase in a linear fashion

XMLWordPrintable

    • 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

      1. Load a new creative world, with cheats enabled.
      2. Create a scoreboard with the statistic minecraft.custom:minecraft.fall_one_cm with:
        /scoreboard objectives add fallen minecraft.custom:minecraft.fall_one_cm fallen
        /scoreboard objectives setdisplay sidebar fallen 
        
      3. Fall from distance 3, 4, 5, 6 while taking note of the minecraft.custom:minecraft.fall_one_cm. Reset it after every fall.
      4. 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

      1. A screenshot of my debug screen data.
      2. A few screenshots of the process of getting the date from the minecraft.custom:minecraft.fall_one_cm
      3. 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

        1. 2017-08-10_22.35.03.png
          2017-08-10_22.35.03.png
          207 kB
        2. 2017-08-10_22.36.37.png
          2017-08-10_22.36.37.png
          156 kB
        3. 2017-08-10_22.37.18.png
          2017-08-10_22.37.18.png
          166 kB
        4. MC-120076.png
          MC-120076.png
          23 kB
        5. Report.xlsx
          15 kB

            Unassigned Unassigned
            TheSweetSuitMan Kerr Beeldens
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: