speraim
by xiaohuhuguai
speraim changes when a spear's cooldown starts, so the next attack waits for the hit to land rather than the swing.
What it does
In vanilla Minecraft a spear's cooldown can begin as the weapon is raised or swung, so it often finishes before the attack connects. speraim delays the cooldown until the spear deals damage, which keeps the cycle lined up with the moment of impact and restores a steadier combat rhythm.
Spear hit detection normally runs on the server, so a player can see a hit while the server records a miss, especially on a laggy connection. speraim moves melee collision detection to the client, the same way swords work, which improves accuracy in multiplayer. Successful spear hits also apply Bedrock-style knockback, pushing the target based on attack direction, momentum and target mass, which adds tactical depth to both PvP and PvE encounters.
The mod is built for Fabric and targets 26.3 as its latest file, with 1.21.11 and 26.2 also covered. It runs on client and server, so the server and every player need it, and it is released under the MIT License without being open source. It requires additional dependencies and works with spear-adding mod packs that stay compatible with vanilla mechanics.
Key features
Delayed cooldown
The spear's cooldown starts only after the weapon deals damage, so it stays in step with the actual hit.
Client-side hit detection
Melee collision is checked on the client, reducing missed hits caused by network latency in multiplayer.
Bedrock-style knockback
A successful hit pushes the target using attack direction, momentum and the target's mass.
Spear combat for PvP and PvE
The changed timing and knockback apply to player fights and to combat against mobs alike.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players who use spears in survival, exploration or competitive play, and server owners who want melee timing that matches the moment of impact.
How it compares
Spear Hitboxes is a Fabric client-side mod for 1.21.11 – 26.3 under the Creative Commons Attribution Non Commercial 4.0 license, not open source. Spear Effects is also client-side only on Fabric for the same range, but it is open source under the MIT License. speraim differs from both by running on client and server, since it moves hit detection to the server-coordinated client side.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| speraim | Fabric | 1.21.11 – 26.3 | Client and server | 2026-09-19 |
| Spear Hitboxes | Fabric | 1.21.11 – 26.3 | Client-side only | 2026-10-03 |
| Spear Effects | Fabric | 1.21.11 – 26.3 | Client-side only | 2026-10-09 |
Questions
Does speraim need other mods to run?
Does the server need speraim as well as players?
Which game versions does speraim cover?
What the author says
基岩版击退系统移植 引入基岩版(Bedrock Edition)的击退物理逻辑,使长矛每次命中都会根据攻击方向、动量及目标质量产生更真实、更有力度的击退效果。战斗中的位移反馈更加丰富,为 PvP 和 PvE 增添策略深度。 This mod fixes the core melee mechanics of spears in Minecraft by addressing premature cooldown triggers, unreliable hit detection, and weak knockback. It transforms the spear into a consistent, responsive…
Official listing
- Modrinth page
- modrinth.com/mod/speraim
- Owner
- xiaohuhuguai
- Published
- 2026-08-21
- Updated on Modrinth
- 2026-09-19
- Facts verified
- 2026-10-15
