Fix Attack Lag
by lingmu0
Fix Attack Lag stops the server from freezing when a player hits a creature with a single very large blow.
What it does
Some hits deal so much damage in one attack that they spawn a large number of particles, and the server slows down while handling them. The lag remains even when particle effects are switched off. The mod changes how the player attack method runs, so that these oversized single hits no longer produce the extra load. Files are published for Forge and NeoForge, for 1.20.1 – 1.21.1 and the latest build for 1.21.1. The server is the side that needs it, while players may add it on the client. The license is MIT, and the project is not open source.
Key features
Oversized hit handling
Single attacks with very high damage no longer trigger the particle burst that causes the lag.
Works with particles off
The fix applies even when particle effects are turned off in the game settings.
Player attack logic
A mixin on the player class changes the attack method, so the adjustment happens at the source of the hit.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Fix Attack Lag need to be on the server?
Which loaders does Fix Attack Lag support?
In the catalog
Fix Attack Lag is one of 3,545 Optimization mods on ModsFinder, and one of 1,441 Optimization mods for Forge. 32,366 mods support Minecraft 1.21.1.
More from lingmu0
Similar mods
What the author says
When a player uses a ordinary attack to attack a creature, if the attack damage is too large,it will generate a lot of particles and cause lag(depending on performance, the author's device is around 10 million), even if the particle effect is turned off, it will still cause this lag. This mod uses the mixin player…
Official listing
- Modrinth page
- modrinth.com/mod/fix-attack-lag
- Owner
- lingmu0
- Published
- 2025-07-01
- Updated on Modrinth
- 2026-03-18
- Facts verified
- 2026-10-15
