Toggle Fix
ModMIT

Toggle Fix

Fixes MC-301281: Toggle stats reset when opening screens with mouse-bound keys.

574
Downloads
3
Followers
3 months ago
Updated
📦
3
Versions

📖About Toggle Fix

Toggle Fix – Fixes Toggle Sprint for Mouse Buttons (MC‑301281)
Toggle Fix resolves a long‑standing Minecraft issue where Toggle Sprint (and other toggle keybinds) stop working after opening any screen — but only when the keybind is assigned to a mouse button.
Keyboard toggles work fine; mouse toggles do not. This mod fixes that inconsistency.

🎯 What the mod does

⦁ Prevents Minecraft from clearing toggle states when a screen is opened.

⦁ Ensures Toggle Sprint / Toggle Sneak behave identically on keyboard and mouse.

⦁ Fully client‑side and does not affect server behavior.

🧩 Technical explanation

⦁ Minecraft internally resets keybind states when opening screens.

⦁ Keyboard toggles are restored afterward — mouse toggles are not.