Jump to content

[1.11.2][13.20.0.2307+]All damage sources damage armor durability


Recommended Posts

Posted (edited)

Latest log from 13.20.0.2307 test enviroment https://pastebin.com/fkSNbzqC

Outline: All damage sources do durability damage to armor.

Research:
I noticed a couple of mods had situations in which they were damaging player armor and so reported these to the mod authors. (in particular Tough as Nails and Blood Magic)
Both active authors told me that they used DamageSource.generic which makes use of bypass armor.

Out of a hunch I thought that it may be a forge bug.

So I tested by creating minecraft profiles with forge installed from 1.8 through to 1.10
When I noticed that these all complied with bypass armor I started testing 1.11 forge versions.
I tried a great deal of different versions until I pinpointed the issue starting in 13.20.0.2307. The bug affects all versions greater than it.

The test method was to
1.create a world.
2.equip a set of armor
3.throw a instant damage potion at my feet.

I did this with each forge version I tested until I pinpointed its origin at 13.20.0.2307

Note: This also occurs some time into 1.12 but is fixed by 14.21.1.2413 I have not thoroughly tested the 1.12 forge versions.
Edit: I pinpointed the 1.12 fix of this issue to 14.21.1.2394 by using the above method.

Edited by Rorax
  • Like 1
Posted

I am perfectly willing to backport small fixes like this to older versions, as long as they are fixed in the latest version first.

I have pushed a fix for this in Forge for 1.11.2.

Posted
4 hours ago, diesieben07 said:

Update to 1.12 then? I am not sure if such non-world-breaking bugs will still be fixed for 1.11.x.

Its not game crashing no. But it is game ruining yes. Losing your armor to non armor damages is quite game breaking in many standard play aspects. And had it been detected earlier by someone and not me 94 versions later you wouldn't be so facetious. On top of that 1.11.2 is still a supported version soooooo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.