CurseForge · Minecraft mod
Armor Recalc
Improving the damage calcuation
Quick answer
Which Armor Recalc release should I use?
Armor Recalc ArmorDamageRecalc-1.11.x-2 targets 1.11, 1.11.2. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Armor Recalc required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Armor Recalc ArmorDamageRecalc-1.11.x-2 need?
ArmorDamageRecalc-1.11.x-2. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Armor Recalc without breaking your instance.
Built for Armor Recalc ArmorDamageRecalc-1.11.x-2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use ArmorDamageRecalc-1.11.x-2. It targets 1.11, 1.11.2; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside ArmorDamageRecalc-1.11.x-2. It opens that exact file at the source.
About this project
What does Armor Recalc add?
Forge has fixed the armor calculation in Build 1.11.2-13.20.0.2307
Current version
In minecraft Forge 1.9.4 up to Build 1.11.2-13.20.0.2306 Forge reverted the armor damage reduction to the 1.8.x version. As a result NBT set armor values, potion effects/items that effect armor attribute as well as armor toughness in general are ignored thus breaking some vanilla maps.
This mod in effect replaces the outdated Forge damage calculation with the new vanilla one
This has been fixed 1.11.2 forge Build 1.11.2-13.20.0.2307 but has not been for 1.9.4 or 1.10.
If you want to use the vanilla armor changes in 1.9.4 or 1.10 forge a mod like this one is still needed.
Alert
The way this is setup ATM any mod added armor that doesn't use the Forge ISpecialArmor system (most don't) will work fine but those that do will behave unpredictably. Example Simple ores and the current tinkers construct armor do not use ISpecialArmor but the Ender IO Dark Steel set does. With default config if used with Dark Steel the RF durability enhancements will not work but other aspects of the armor do.
Issues may still arise with ISpecialArmor that has special damage reduction systems.
1.9.0 version
1.9 allows for partial armor points but the vanilla damage calculation strips them before actually performing the damage reduction calculation. This recalc just applies a minor tweak to tale the partial points into account so that 2.5 armor is actually better than 2.0 but worse than 3.0
Technical stuff
The vanilla damage code is vanillaDamage = incommingDamage * ( 1 - max( defensePoints / 5, defensePoints - incommingDamage / 2 ) / 25 ) but the call to read defensePoints converts it from a double to an int and then is converted to a float.
This mod uses the forge hook to change the incommingDamage so that the result of the vanilla calculation (using the defensePoints reduced to nearest int) becomes what it would have been if it used the base incommingDamage and converted the actual double value of defensePoints directly to a float.
note: the reversion of the armor code happened part way through 1.9.0 so the 1.9.0 version won't work as intended with later versions of forge.
Project description from CurseForge.
Pick your setup
Armor Recalc by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.11
1 loader build1.10.2
1 loader build1.9
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Armor Recalc versions and loaders
ArmorDamageRecalc-1.11.x-2
ArmorDamageRecalc-1.11.x-2.jar
14 Mar 2017
ArmorDamageRecalc-1.11.x
ArmorDamageRecalc-1.11.x.jar
23 Dec 2016
ArmorDamageRecalc 1.3 Final for 1.10.2
ArmorDamageRecalc-1.3 Final for 1.10.2.jar
23 Dec 2016
ArmorDamageRecalc-1.11
ArmorDamageRecalc-1.11.jar
16 Nov 2016
ArmorDamageRecalc-1.2 Beta for 1.10.2
ArmorDamageRecalc-1.2 ALPHA for 1.10.2.jar
6 Aug 2016
ArmorRecalc 1.1 MC 1.10.2
ArmorDamageRecalc-1.1 beta for 1.10.2.jar
2 Aug 2016
Armor Recalc 1.1
Armor Recalc 1.1.jar
29 Mar 2016
Armor Recalc.jar
20 Mar 2016
Looking for an older file? The official CurseForge project page is in Resources.