SneakFix

SneakFix

Simple mod that ignores the visual acknowledgment packets for crouching because it desyncs and makes the player crouch twice on the client end.

by
21.7K Downloads
fabricoptimization
Configure a Compatible Minecraft Server

Screenshots

All of the functional source code that fixes the bug

About this Mod

Ever since the crouching animation was added this bug has existed:
https://bugs.mojang.com/browse/MC-159163

It's because the server sends back the visual starting and stopping crouching animations when the player crouches, but information takes time to travel and it is trivial to crouch and uncrouch before the server sends those packets back. This causes a visual desync on the client end.

Don't believe me? (Speedbridgers know this all too well)

Load up a world or join a server after version 1.14 and tap your crouch key very quickly. (as in press crouch and quickly uncrouch, not spam it). You will notice and extra crouch animation much of the time.

BTW

This mod borrows code from sneak tweaking here:

https://www.curseforge.com/minecraft/mc-mods/sneak-tweak

so if you want more functionality to tweak how crouching works, then go there. I just wanted to fix a bug not a bigger mod with dependencies.

Available Versions

SneakFix 1.0+mc1.21.4release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4fabric
December 17, 2024
SneakFix 1.0release
MC 1.20.2fabric
November 21, 2023

How to Install SneakFix on Your Client

1

Install the Mod Loader Locally

Install fabric for your local Minecraft version.

2

Download the Matching File

Choose the SneakFix file for fabric and Minecraft 1.21.4.

3

Install Mod

Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.4, 1.21.3, 1.21.2 (+3 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Does SneakFix need to be installed on the Minecraft server?

No. Modrinth marks SneakFix as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.

Which version and loader does SneakFix require?

Use a file for fabric and your exact Minecraft version. Supported versions include 1.21.4, 1.21.3, 1.21.2. Files for different loaders are not interchangeable.

SneakFix is not working – what should I check?

First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.

Minecraft Server for Your Group

SneakFix stays on your client. Host a compatible world for your group.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
Client Compatibility Guide
NVMe SSD Storage
DDoS Protection included

Details

License
Apache License 2.0
Server-side
Unsupported

Supported Versions

1.21.41.21.31.21.21.21.11.211.20.2