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

Sharpness / Smite / Bane of Arthropods damage applies after the Weakness effect

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Minecraft 15w47b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 1.16, 20w46a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Pre-release 7, 1.18 Release Candidate 1, 1.18 Release Candidate 3, 1.18, 1.18.1 Pre-release 1, 1.18.1 Release Candidate 1, 1.18.1, 22w03a, 22w05a, 22w07a, 1.18.2 Pre-release 1, 1.18.2 Pre-release 3, 1.18.2, 22w11a, 22w12a, 22w13a, 22w14a, 22w15a, 22w16b, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 2, 1.19, 22w24a, 1.19.1 Pre-release 1, 1.19.1, 1.19.2
    • None
    • Confirmed
    • (Unassigned)

    Description

      The bug

      Giving yourself weakness now negates only your weapon's base attack damage and not Sharpness/Smite/Bane of Arthropods damage. To reproduce:

      How to reproduce

      1. Run:
        /give @p splash_potion{Potion:"minecraft:long_weakness"}
        /give @p minecraft:diamond_hoe{Enchantments:[{id:sharpness,lvl:1}]}
        /summon villager ~ ~ ~ {Health:1}

        → Observe how the diamond hoe's tooltip says 2 Attack Damage and the weakness potion's tooltip says -4 Attack Damage.

      2. Throw the potion at your feet and hit the villager with the diamond hoe.
        Villager died even though the potion was supposed to take away 4 (of your 2) attack damage

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clamlol clam lol
              Votes:
              17 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: