
Overhauled Damage
A complete overhaul to several mechanics revolving around damage. Including elemental damage and shield parrying.
3.1.0
Changes
- effect build up reductions can now be negative, which increases build-up over time.
Fixes
- fixed attribute sentiments (define what text colour is used for attribute modifier tooltips)
3.0.0
- updated to 26.1.x
Additions
- added the first iteration of new status effects. They are applied when an effect build up bar is filled. The server config still has the option to change this to other effects. Some of the effects have currently no impact on gameplay. This will be fixed when the required API mods are available.
- "overhauleddamage:bleeding"
- "overhauleddamage:burning"
- "overhauleddamage:chilled"
- "overhauleddamage:frozen"
- "overhauleddamage:poison"
- "overhauleddamage:shocked"
- "overhauleddamage:staggered"
- "overhauleddamage:hit_stun"
- added new damage types
- "overhauleddamage:bleeding_damage_type"
- "overhauleddamage:burning_damage_type"
- "overhauleddamage:poison_damage_type"
- "overhauleddamage:shocked_damage_type"
- added enchantment effects to add effect build up
- "overhauleddamage:add_bleeding_build_up"
- "overhauleddamage:add_burn_build_up"
- "overhauleddamage:add_freeze_build_up"
- "overhauleddamage:add_poison_build_up"
- "overhauleddamage:add_shock_build_up"
- "overhauleddamage:add_stagger_build_up"
- added "overhauleddamage:overhauled_damage_entity" entity sub predicate, which allows to check for each effect build up
- added "overhauleddamage:no_applied_damage" damage type tag. Attacks with damage types in this tag don't deal damage to health/mana/stamina, but all other effects still apply
- added Java API to give "Mob" entities a custom damage type
- added server config options to set default entity attribute values (only affects players)
- added server config option to disable overhauled damage calculation
- this includes the overhauls to blocking attacks, protection enchantments, armor calculation and the entire "attack type" system. Note that the individual toggles for the various overhauls are still available, if you only want to disable individual systems.
- this does not include the effect build up system
- added Knockback Overhaul, allowing better control over how much knockback is applied when taking damage. This can be disabled in the server config
- the effect build up icon bars now blink when their corresponding build up changes, similar to the vanilla health bar. This can be disabled in the client config.
- added built-in data pack that integrates some vanilla enchantments with Overhauled Damage
- added built-in data pack that adds new enchantments
Changes
- improved client/server config layout
- improved default config values
- reworked the blocking overhaul
- now requires the mod "Blocking Overhaul" to be present, which is a standalone implementation of most blocking overhaul features
- replaced game rule naturalArmourToughness with server config option
- removed instant blocking feature (now possible with vanilla tech)
- removed Protection Overhaul
- this feature made the specialised protection enchantments obsolete and was generally not very compatible with other mods/vanilla Minecraft
- an (optional) built-in data pack was added that integrates protection enchantments into the overhauled damage calculation
- temporarily disabled the flat value based armor calculation, it will come back after I had more time to fix it's various design problems
Technical
- removed "generic." prefix from all entity attributes, following vanillas example
- improved integration of Stamina Attributes and Mana Attributes
- migrated to Mojang Mappings
- internal refactors which made the mod much easier to work with
2.4.2
- fixed game rule
2.4.1
- added "naturalArmourToughness" game rule
- added attackers "generic.attack_knockback" value into the block knock back calculation
- fixed an issue where blocking an attack would never knock back the blocking entity
2.4.0
- reworked block knock back calculation
- several internal refactors to improve maintainability
- fixed several bugs with the icon bar configurations
2.3.0
- additions
- added alternative build-up bars consisting of icons, similar to vanillas resource bars
- added generic attack type and changed default attack type multipliers to 1.0 for generic and 0.0 for all others
- added alternative armor calculation. The existing formula expects very high amounts of damage. This is not realistic in a vanilla/modded environment. The alternative calculation is based on a percentage reduction instead of flat values.
- added alternative blocked damage calculation. The existing formula expects very high amounts of damage. This is not realistic in a vanilla/modded environment. The alternative calculation is based on a percentage reduction instead of flat values.
- added protection enchantment overhaul. Feather Falling works like normal. 'Normal' protection now works with a (configurable) percentage reduction. All other protection enchantments are disabled.
- added new sound for a successful parry
- added "damage taken from mana/stamina" attributes
- added a "build_up_reduction_delay_threshold" attribute for each build-up type, they describe a delay in build-up reduction, when build-up is added
- changes
- reworked both client and server configs, improving the general layout and making the mod much more configurable
- fixes
- fixed an issue where the build-up bars were visible in creative mode
- fixed an issue where the build-up bars were visible even when the HUD was hidden (pressing F1)
- mod dependencies
- removed dependency on Cloth Config
- added dependency on Fzzy Config
- added dependency on Resource Bar API
- Stamina Attributes is now an optional dependency
- Mana Attributes is now an optional dependency
- additions
1.6.0
- added generic attack type
- changed default attack type multipliers to 1.0 for generic and 0.0 for all others
- added alternative armor calculation. The existing formula expects very high amounts of damage. This is not realistic in a vanilla/modded environment. The alternative calculation is based on a percentage reduction instead of flat values.
- added alternative blocked damage calculation. The existing formula expects very high amounts of damage. This is not realistic in a vanilla/modded environment. The alternative calculation is based on a percentage reduction instead of flat values.
- made many values in the damage calculation configurable
- changed how protection enchantments work. Feather Falling works like normal. 'Normal' protection now works with a (configurable) percentage reduction. All other protection enchantments are disabled.
- added new sound for a successful parry
- added "damage taken from mana/stamina" attributes
- Stamina Attributes is now an optional dependency
- Mana Attributes is now an optional dependency
2.2.1
- fixed some internal issues
2.2.0
- further improvements to effect build up bar customization
2.1.0
- update to 1.21.1
- improved effect build up bar customization
- Stamina Attributes is now an optional dependency
2.0.1
- fixed a crash when taking damage of some specific damage_types
2.0.0
Update to 1.21
- default attack type multipliers of damage types not present in the server config are now 1.0 for the bashing attack type and 0.0 for all other attack types (this should result in damage types not present in the config behaving like normal)
- internal changes to how the custom damage calculation is applied, which should result in better maintainable code
- fixed error in calculation of blocked damage
Physical and elemental damage amount is no longer calculated using damage type tags. The idea was good on paper, but it proved to be quite challenging to keep track of all the different files. The new system uses the server config. This makes adding, removing and editing the values much easier, gives better control over the exact value and future proofs the system for eventual expansions.
- changed default config to use status effects provided by 'Various Status Effects'
- fixed compatibility issues caused by using mixin overwrites
- added customization for the GUI elements
- fixed an issue with adding effect build-ups
No longer adds status effects, in the server config the ids of effects implemented by other mods can be specified instead. This mod is an API, so I felt that adding content like status effects is not in scope for this project. This gives mod (pack) authors more control and reduces dependencies and jar size. Also, no more assets are missing (or needed), so the mod is no longer in beta.
- no longer depends on Spell Engine, because it's ActionImpairing API is no longer needed
- added Mod Menu support
- fixed an issue where the folder containing the config files was not named correctly
- fixed an issue with the attribute registry
- fixed an issue where a damage type added in a newer minecraft version was present in a tag
- updated dependencies
Beta release! A few assets are still missing