
ViewLockerMod
Lock your camera to saved angles for farming or grinding — freeze your mouse with one command and restore it instantly when done.
About this Mod
🔒 View Lock Mod
The View Lock Mod lets you lock your Minecraft camera (yaw/pitch) to preset angles and prevent mouse movement until unlocked. Perfect for farming, grinding, or keeping a steady perspective without fighting your mouse.
✅ Safe to use on any server – client-side only, does not interact with server mechanics.
✨ Features
Save views → Store specific yaw/pitch values under a name
Lock view → Snap to a saved view and freeze mouse input
Unlock view → Restore your original mouse sensitivity automatically
Toggle hotkey → Press U to toggle lock/unlock without commands
Re-lock shortcut → If unlocked, pressing U snaps back to your last used view
List views → See all your saved perspectives
Persistent storage → Views saved to config/viewlock.json between sessions
📖 Commands
/add
/vl
/vul → Unlock view and restore sensitivity
/del
/viewl → Show all saved views
/helpvl → Show all commands in-game
⌨️ Hotkeys
U → Toggle lock/unlock. If no view is active, re-locks to your last used view.
Rebindable in Options → Controls.
🛠 How it works
The mod hooks into Minecraft's mouse handler to block camera input while locked, and saves your sensitivity before locking so it can be restored exactly on unlock. Saved views persist between sessions via a config file.
Available Versions
How to Install ViewLockerMod on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "ViewLockerMod". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.8 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
ViewLockerMod server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is ViewLockerMod compatible with fabric?
ViewLockerMod officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with ViewLockerMod – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if ViewLockerMod consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install ViewLockerMod with just one click on your server.