I Frames Tweaker is a simple mod that fixes fast weapons.
The Problem
I Frames (Invincibility Frames) are givin to entities that receive damage to stop them from being damaged too quickly. But In Vanilla this doesn't scale with weapon attack speed, making fast weapons added by weapon mods not very effective since they give way more I frames than they need to.
The Solution
I Frames Tweaker changes that by making inflicted I frames match the weapon's attack speed. The I Frames Inflicted by a weapon should last about 75% of the weapon's recharge time, between 5 and 24 ticks.
There is a simple config that might change in the future.
All Versions
+ Add Version- Adapted code to better support neoforges damage containers
- Added config option to disable I frames from being edited with attacks from things that don't have attack damage.
- Removed Misc Iframes config option (Reduant)
Supports Neoforge's config system.
Now you can configure more damage sources and the I frames they give.
Config isn't final and might change in the future.