Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-157812

Knockback buff scaling is exaggerated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.0, 1.19.11 Hotfix, 1.19.20, 1.19.30, 1.19.51, 1.19.81 Hotfix, 1.20.1 Hotfix
    • None
    • Confirmed
    • Windows
    • 966629

      The amount of additional knockback that players deal with the knockback 2 enchantment or with sprinting + knockback 1 or 2 seems to be too much.

      Steps to reproduce

      1. Load Knockin'.mcworld
      2. Spawn a husk on the first iron trapdoor after the slabs.
      3. Activate the command block to set the crosshair straight south.
      4. Walk or sprint straight toward the husk and hit it with one of the swords.
      5. Note its position after knockback.
      6. Kill it.
      7. Repeat steps (2) - (6) walking and sprinting with each sword.

      Expected results

      Knockback would scale linearly with sprinting and enchantment level. It would also be consistent.

      This chart is in pixels for easier comparison with the observed results.

        Walking Sprinting
      Base 32 48
      Knockback 1 48 64
      Knockback 2 64 80

      These expected results are derived from testing I did after the 1.16 update changed knockback. The changes in 1.16 were reported in MCPE-91428, which I believe was working as intended, but it has never been authoritatively stated.

      Observed results

      When knockback is enhanced more than once (either by the knockback 2 enchantment or by sprinting + the knockback enchantment), the increased knockback is out of proportion to the increase from sprinting alone or the knockback 1 enchantment alone, and is higher than it was in 1.16 and 1.17. I am not sure when this changed. The amount of knockback given by sprinting or the knockback enchantment also seems to have a random factor.
      Measured in pixels.

        Walking Sprinting
      Base 31.5 41-43
      Knockback 1 42-43 76-82
      Knockback 2 76-82 112-115

            GoldenHelmet [Mod] GoldenHelmet
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: