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.
How to Install IFramesTweaker (Mod)
IFramesTweaker by Happy1speed is verified for Fabric, Neoforge across Minecraft versions 1.20.1, 1.21.1 (latest release: 1.0.3, file size: 10 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21.1) and platform (Fabric, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
- Move the downloaded IFramesTweaker file into your Minecraft
.minecraft/modsfolder and launch the game.
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.