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

Multiplicative enchantment damage bonuses stack additively with critical attack damage bonus.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w19b
    • None
    • Unconfirmed
    • (Unassigned)

      A custom enchant which increases damage by a percentage per level stacks additively with the critical hit multiplier, rather than multiplicatively.

      Below are screenshots showing a custom enchantment which increases sword damage by 20% per level. This benchmark was done with two netherite swords, one enchanted with the enchantment, one unenchanted, against an Iron Golem.

      Note when critical attacking with an unenchanted netherite sword, the amount of damage dealt is 8 on a normal hit. With the first level of the enchantment on a netherite sword with a critical hit, 13.6 damage is dealt. 13.6 is a 70% increase (1.7x factor) compared to the unenchanted sword's 8 base damage (without critical hitting), which is an additive increase of 20% onto the 150% multiplier that critical attacking provides.

      Also note that the increase between a normal critical hit and an enchanted critical hit in this scenario is a 13.33% increase due to this, when it should be a 20% increase.

      The JSON for the custom enchantment (modified Sharpness) is included for troubleshooting purposes.

        1. enchanted.png
          4 kB
          Matthew
        2. sharpness.json
          0.7 kB
          Matthew
        3. unenchanted_critical.png
          5 kB
          Matthew
        4. unenchanted_normal.png
          3 kB
          Matthew

            Unassigned Unassigned
            gassug3 Matthew
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: