PitchLocker
by sc0wy
PitchLocker locks the vertical camera angle to the horizon with a single key press, so players can turn left and right freely.
What it does
Pressing Y, the default key and rebindable in the standard Minecraft controls, snaps the camera pitch to level and holds it there. Pressing Y again releases the lock and returns full control over the vertical view. The toggle is a simple on and off switch.
The mod is built as a lightweight utility for players who want to keep the horizon fixed while moving through terrain, building or exploring. Yaw stays free, so looking left and right does not accidentally move the camera up or down. Fabric API is required and must be installed next to PitchLocker, and the mod is released for 1.21.4 only, with Fabric as the sole loader.
PitchLocker is client-side only, so only the player's game needs it and servers run without it. The code is under All rights reserved and is not open source. Its latest Fabric file is 1.0.0 for 1.21.4, published on 2026-02-10 on the beta channel.
Key features
Vertical lock
A key press sets the camera pitch to zero and holds the horizon level until the lock is released.
Free horizontal movement
Yaw remains fully controllable while the pitch is locked, so looking around does not tilt the view.
Smooth camera motion
Mixins override mouse input directly, so the camera moves without the stutter that macro-based solutions can cause.
Rebindable toggle
The toggle defaults to Y and can be changed in the standard Minecraft controls settings.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Building flat structures
Keeping the horizon level helps when placing blocks along a fixed plane and checking alignment by eye.
Exploring open terrain
Players who scan landscapes can look left and right without the view drifting up or down.
Who it’s for: Players who want a steady horizon while building or exploring, and who do not want to change the camera angle by hand. Players on Fabric with the 1.21.4 release of the game are the intended audience.
How it compares
Camera Snap is open source under the GNU Lesser General Public License v3.0 or later, is published for Fabric across 1.21.1 – 1.21.11 and is client-side only. Simple Camera is client-side only, licensed under the MIT License and published for Fabric 1.21.1 only. PitchLocker, by contrast, is not open source and has a single file for 1.21.4.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| PitchLocker | Fabric | 1.21.4 | Client-side only | 2026-02-10 |
| Camera Snap | Fabric | 1.21.1 – 1.21.11 | Client-side only | 2026-05-28 |
| Simple Camera | Fabric | 1.21.1 | Client-side only | 2026-07-26 |
Questions
Does PitchLocker need Fabric API?
Does PitchLocker have to be installed on the server?
Can the lock key be changed?
Which game versions does PitchLocker support?
In the catalog
PitchLocker is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 17,979 mods support Minecraft 1.21.4.
Similar mods
What the author says
PitchLocker is a lightweight, client-side utility mod designed to give you absolute control over your camera's vertical alignment. With a single key press, lock your view to the horizon while maintaining full freedom of horizontal movement. In-game: Press Y (default) to lock your vertical view. Press Y again to…
Official listing
- Modrinth page
- modrinth.com/mod/pitchlocker
- Owner
- sc0wy
- Published
- 2026-02-10
- Updated on Modrinth
- 2026-02-10
- Facts verified
- 2026-10-15
