Lock your camera to saved angles for farming or grinding — freeze your mouse with one command and restore it instantly when done.
🔒 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 → Save a new view
/vl → Lock your view to a saved angle
/vul → Unlock view and restore sensitivity
/del → Remove a saved view
/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.