HomeJavaModsViewLockerMod
ViewLockerMod
ModsJava

ViewLockerMod

by ChocoMucho · on Modrinth

Lock your camera to saved angles for farming or grinding — freeze your mouse with one command and restore it instantly when done.

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.10–1.21.11⬇ Download for 1.21.5–1.21.8
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

🔒 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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more