
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 Client
Install the Mod Loader Locally
Install fabric for your local Minecraft version.
Download the Matching File
Choose the ViewLockerMod file for fabric and Minecraft 1.21.11.
Install Mod
Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.
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
Does ViewLockerMod need to be installed on the Minecraft server?
No. Modrinth marks ViewLockerMod 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 ViewLockerMod require?
Use a file for fabric and your exact Minecraft version. Supported versions include 1.21.11, 1.21.10, 1.21.8. Files for different loaders are not interchangeable.
ViewLockerMod 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.
Similar Mods
Minecraft Server for Your Group
ViewLockerMod stays on your client. Host a compatible world for your group.