Damage Optimization - Damage Optimization
This datapack solves the problem with immunity to certain types of damage in Minecraft. It allows some types of damage to ignore the standard invulnerability period after taking damage.
Which damage types bypass protection
The modification works with the following types of damage: indirect_magic,magic,lightning_bolt,thorns,sonic_boom,wither (indirect magic, magic, lightning strike, thorns, warden sonic attack, wither).
Problems solved by the mod
In the standard game, there is an illogical mechanic - an instant healing potion restores health with each hit, while an instant damage potion forces you to wait 0.5 seconds between hits. Also, a trident with the "Channeling" enchantment deals 8 damage on direct hit, but the additional lightning damage is ignored due to immunity.
Important note
Due to the peculiarities of the base game mechanics, after installing this datapack, the wither rose will deal 1 wither damage every tick. To solve this problem, it is recommended to install an additional modification for wither rose adjustment.