ModsFinder

ViewLock

by BasicDevelopment

ViewLock is a Fabric utility that holds the camera's view in place along chosen axes, so the player can move without the view drifting.

FabricClient-side onlyMIT LicenseOpen source1.21.10 – 26.3

What it does

Toggling a key freezes the view along a chosen axis: the X axis for up and down, the Y axis for left and right, or both at once. The lock applies only to the directions selected, so the rest of the camera stays free. Default keys are U for the X-axis lock and Y for the Y-axis lock, and both can be rebound in the controls menu.

The mod is a fork updated to 26.2, and it is open source under the MIT License. The original project is no longer maintained, and this fork is meant to keep up with the latest Minecraft Java Edition release. Fabric API is optional and is not needed for the core lock behaviour. Client-side only, so servers and other players need nothing installed, and the mod is published for 1.21.10 – 26.3 with 1.2.6 for 26.3 as the latest file.

Key features

  1. Axis-specific view lock

    A toggle holds the camera along only the vertical or only the horizontal direction, while movement on the other axis stays unchanged.

  2. Combined lock

    One key locks the view along both axes at once, keeping the camera fixed in place while the player moves.

  3. Rebindable keys

    Both lock toggles appear in the controls menu, so the default U and Y keys can be changed to any free key.

  4. Fork kept current

    The fork tracks the latest game release, while the original project stopped receiving updates.

Compatibility

Latest build for each game version and loader.

26.31.2.6
26.21.2.5
26.1.21.2.4.2
26.1.11.2.4.2
26.11.2.4.2
1.21.111.2.4.1
1.21.101.2.3
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Optional 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Optional

Use cases

Who it’s for: Players who want a steady camera in Fabric worlds, including single-player and multiplayer clients, since the mod runs on the client alone.

How it compares

Full comparison

MacUtils is a Fabric client mod under the MIT License, published for 1.21.1 – 26.1.2, and it bundles several utilities rather than a single view lock. Slot Lock is also client-side and MIT licensed, for 1.21.11 – 26.1, but it locks inventory slots instead of the camera. Camera Lock On is client-side, open source under the GNU General Public License v3.0 only, and covers 1.21 – 1.21.11, which overlaps ViewLock only on the early builds.

ModLoadersGame versionsEnvironmentUpdated
ViewLockFabric1.21.10 – 26.3Client-side only2026-09-28
MacUtilsFabric1.21.1 – 26.1.2Client-side only2026-05-18
Slot LockFabric1.21.11 – 26.1Client-side only2026-03-31
Camera Lock OnFabric1.21 – 1.21.11Client-side only2026-04-21

Questions

Does ViewLock need Fabric API?

No. Fabric API is listed as optional, and the view lock works without it.

Is ViewLock installed on the server?

No. Players add it to their own game, and a server needs no copy.

Why is this a fork?

The original project is no longer maintained, so this fork by BasicDevelopment updates it to the latest Minecraft Java Edition release.

Which keys toggle the lock?

U locks the view along the X axis and Y locks it along the Y axis by default, and both keys can be rebound in the controls menu.

In the catalog

ViewLock is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 8,071 mods support Minecraft 26.3.

Similar mods

What the author says

This mod locks your view to a specific direction and can be adjusted to only lock up and down or left and right. The view can also be locked to the closest x and y axes using a key. This is a fork of the original mod intended to maintain support of the latest release of Minecraft Java Edition.
BasicDevelopment, on the Modrinth page

Official listing

Owner
BasicDevelopment
Published
2025-12-01
Updated on Modrinth
2026-09-28
Facts verified
2026-10-15

Tags