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

Thorns enchantment causes double armor decay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w28a
    • Minecraft 1.6.2, Minecraft 1.6.4, 1.15.2, 20w12a
    • Confirmed
    • Survival
    • Items
    • Normal

      Put the summary of the bug you're having here

      What i expected to happen is a diamond chest plate that was enchanted with thorns 2 and protection 4 to last longer than any other diamond armor i had, since the durability is so much higher

      What actually happened was...:
      had the inventory screen up and also had the durability monitor up for armor. Armor that has the enchantment thorns of any kind, IF it affects the enemy with damage it drops the durability of the armor twice per hit rather than once. So a chest piece of diamond decayed completely before any of the others remotely were close to breaking even though it's durability is the highest of them all.

      Steps to Reproduce:
      1. get diamond armor, enchant a chest plate with thorns and turn on durabiliy monitor for items
      2. go into creative and get some golden apples, use them to have high health regen and turn to survival
      3. Watch enemies beat the crap out of you and notice that the durability of the chest piece drops by a factor of two after every hit by going to the inventory screen and scrolling over the chest piece while being hit.


      Code analysis by marcono1234 in this comment

            slicedlime [Mojang] slicedlime
            Wesley_Aegis Charner Wesley Davis
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: