View Lock
by FamroFexl
View Lock keeps the camera from moving along chosen axes, so a player can hold a fixed pitch or yaw while still looking around.
What it does
Two toggles lock the view on its vertical or horizontal axis: one stops up and down movement, the other stops left and right movement. A locked view can be set to a specific pitch and yaw, or made to track a chosen block, either at a relative position or on whatever the crosshair points at. The view can be released and relocked without losing its saved state. View Lock requires Fabric API on Fabric, and it is published for Fabric and Forge across 21 release versions, 1.8.9 – 1.21.4, under the MIT License. It is open source, and only the client needs it.
Key features
Axis locks
Separate toggles stop vertical movement and horizontal movement of the view.
Fixed pitch and yaw
A locked view can be set to exact pitch and yaw values, relative to the current angle.
Block tracking
The view can follow a chosen block at a relative position, or follow the block under the crosshair.
Compatibility
Latest build for each game version and loader.
1.21.x5 of 5 versions with builds
1.20.x5 of 5 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.8.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Camera Lock is a Fabric-only client mod for 26.1 – 26.1.2, released under the MIT License and open source. DebugCrosshair is a Forge mod for 1.8.9 that is open source under The Unlicense. AxisLock works on Fabric, Forge, NeoForge and Quilt for 1.21.5 – 26.2 under a custom license that is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| View Lock | Fabric and Forge | 1.8.9 – 1.21.4 | Client-side only | 2024-12-12 |
| Camera Lock | Fabric | 26.1 – 26.1.2 | Client-side only | 2026-06-15 |
| DebugCrosshair | Forge | 1.8.9 | Client-side only | 2026-06-27 |
| AxisLock | Fabric, Forge, NeoForge and Quilt | 1.21.5 – 26.2 | Client-side only | 2026-08-14 |
Questions
Does View Lock need Fabric API?
Does the server need View Lock?
In the catalog
View Lock is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 17,979 mods support Minecraft 1.21.4.
More from FamroFexl
Similar mods
What the author says
U: Toggles locking on up and down view movement (x axis) I: Toggles locking on left and right view movement (y axis)
Official listing
- Modrinth page
- modrinth.com/mod/view-lock
- Owner
- FamroFexl
- Published
- 2022-10-17
- Updated on Modrinth
- 2024-12-12
- Facts verified
- 2026-10-15
