ModsJava
Mouse Lock Mod (26.3, 1.20.1) – Freeze Your Camera Angle for Straight Farming
Java mod listed for Minecraft 1.20–26.x. Downloads from the MC Java Mods app on Android.
⬇ DownloadMouse Lock Mod lets you freeze your camera angle in place and blocks mouse movement inputs. It helps with repetitive tasks where you need to walk in a straight line after lining up your view. This feature is handy for breaking or planting crops without bumping your mouse and losing your angle.
![]()
Features:
- Head Rotation Lock: Freezes your player’s view angle on demand so moving your mouse does not turn the camera.
- Text Overlay Options: Shows a “Mouse Locked” text on the screen, and you can adjust its size and position.
- Lets you choose whether the text overlay moves up when health hearts are visible.
- Includes an option to automatically reset the mouse lock when you leave a world or switch dimensions.
- Works on multiplayer servers like normal gameplay since it only stops mouse movement inputs, though you should still check server rules.
Commands:
/mouselock: locks or unlocks your camera angle, which is also useful for triggering the lock from another mod./mouselock settings: opens the settings menu to adjust the overlay and reset options.
How to Use:
- Open your Minecraft controls menu and set a custom keybind for the lock, since no key is set by default.
- Line up your camera at the exact angle you want for farming or planting.
- Press your chosen keybind or run
/mouselockto freeze your view angle. - Open the mod list and click the settings button, or run
/mouselock settings, to customize the screen text.
Mouse Lock Mod Download Links
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 26.3, 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: In MC Java Mods, or directly above on this page.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Download size: 187 KB
- Download link checked 17 Nov 2026 — working
- Mirrored on our own servers — the download does not depend on the original host
These come from our own check of the pack file, not from the source page.