This mod helps for fix ghost hit on servers
In Minecraft PvP and PvE, lag often causes "Ghost Hits"—situations where your client thinks you hit an enemy, plays the sound and particles, but the server rejects it because you were slightly too far away.
The Solution:
This Fabric mod acts as a client-side range limiter. It calculates the exact distance to your target before you swing. If the target is further than 3.0 blocks (the standard survival reach), the mod prevents the attack packet from sending.