ModsFinder

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.

ForgeNeoForgeServer required, client optionalMIT License1.20.1 – 1.21.1

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

  1. Oversized hit handling

    Single attacks with very high damage no longer trigger the particle burst that causes the lag.

  2. Works with particles off

    The fix applies even when particle effects are turned off in the game settings.

  3. 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.

1.21.11.2.0-1.21.11.2.0-1.21.1-Neoforge
1.20.41.2.0-1.20.1Not available
1.20.31.2.0-1.20.1Not available
1.20.21.2.0-1.20.1Not available
1.20.11.2.0-1.20.1Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Questions

Does Fix Attack Lag need to be on the server?

The server is the side that needs it. Players can join without installing the mod, although adding it on the client is optional.

Which loaders does Fix Attack Lag support?

Forge and NeoForge are supported. The latest Forge file is 1.2.0-1.21.1 and the latest NeoForge file is 1.2.0-1.21.1-Neoforge, both for 1.21.1.

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

All projects

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…
lingmu0, on the Modrinth page

Official listing

Owner
lingmu0
Published
2025-07-01
Updated on Modrinth
2026-03-18
Facts verified
2026-10-15

Tags