介绍
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.
常见问题
Armor Recalc 支持哪些 Minecraft 版本?
Armor Recalc 支持 Minecraft Java 版 1.9–1.11.2,共 4 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Armor Recalc 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
TheOldOne22 的其他作品
查看全部 →Simple Tcon
一个简单的匠魂矿石附属模组
Armor Overlay
自定义盔甲条。
Actually Additions Mining Laser tweaker
Allows adding ores to the Actually Additions Mining Laser
More Fusion Furnaces
adds extra fusion furnaces
评论
登录后评论和评分