Damage Overhaul
Damage Overhaul 是一款适用于 Minecraft 1.16.2 及更高版本的模组,旨在添加伤害类型并更改护甲与伤害计算公式。简单来说,它会根据伤害量以及不同伤害类型的分布来重新计算护甲效果。一次较大的伤害命中对实体造成的影响将远大于许多分散的小伤害,且在面对较大伤害时,护甲的效果会显得较弱。这一切都通过指数衰减计算来实现,使得面对更大攻击时,护甲的效力逐渐降低。本模组的目的是让大型攻击显得更加具有冲击力,同时借助护甲可以抵御较小的伤害。该模组高度可定制,您可以修改计算中的变量、定义自己的伤害类型,甚至调整工具造成的伤害。所有这些配置均通过配置文件目录中的 YAML 文件完成。
本模组仅支持 Fabric。目前不考虑移植到 Forge。如果您想进行移植,本模组遵循 GPL-3 许可证,只要您注明原作者并将您的版本也采用 GPL 许可,即可自由尝试。
本模组通过对 LivingEntity 和 PlayerEntity 类进行一些针对性的 Mixin 注入来实现上述功能。虽然这些 Mixin 对于实现自定义伤害计算是必需的,但它们具有一定的侵入性,这会导致某些模组与本模组不兼容。当我发现本模组与其他模组存在冲突并通过 Issue 提出时,我会将其标记为不兼容。
已标记不兼容:
必需模组:
显而易见。
- Fabric Loader: 0.10.8 或更高版本
为本模组添加的指示用自定义粒子所必需。
作为本模组生成的配置界面的一部分所必需。
- Cloth Config API (Fabric): 4.8.3 或更高版本
推荐模组:
出于多种原因推荐,包括模组菜单以及在游戏内配置本模组。
用于指南书(目前尚不完整),但非必需。
- Patchouli: 1.16.2-44-FABRIC 或更高版本
Damage Overhaul
Damage Overhaul is a mod for Minecraft 1.16.2 and higher aiming to add damage typing and change the armor and damage calculation formula. Simply put though, it recalculates armor based on the amount of damage, and how spread out the damage is amongst typing. A larger damage hit will render much more profoundly on an entity than many small typings, and armor will feel less effective on bigger hits. This all feeds into an exponential decay calculation to make armor less effective the more you have of it against a bigger attack. The aim of this is to make it feel like larger attacks feel more profound, while with armor, you can shrug off smaller hits. This mod is extremely customizable, from being able to modify variables in the calculations, to being able to define your own damage types, to being able to modify what damage a tool deals. This all occurs through YAML files in the configuration directory.
This mod is Fabric only. I am not considering a Forge port at this time. If you want to port it, it's licensed under GPL-3, so have a go as long as you credit me and license it under GPL as well.
It does this through a few targeted Mixins into the LivingEntity and PlayerEntity classes. While these mixins are required in order to make the custom damage calculations, these mixins are slightly invasive, and THIS WILL RENDER SOME MODS INCOMPATIBLE WITH THIS MOD. As I find incompatibilities with this mod and others as raised through issues, I will mark them incompatible on my end.
Marked Incompatible:
Required Mods:
Duh.
- Fabric Loader: 0.10.8 or greater
Required for the custom particles this mod adds as indicators.
- Fabric API: 0.29.3 or greater
Required as part of the config screen this mod generates.
- Cloth Config API (Fabric): 4.8.3 or greater
Suggested Mods:
Suggested for many reasons, but that includes the mods screen, and configuring the mod in-game.
- Mod Menu: 1.15.0 or greater
Suggested for the guidebook, which is currently incomplete, but not necessary.
- Patchouli: 1.16.2-44-FABRIC or greater
评论 0
登录后参与评分
还没有评论,来抢沙发吧