Back to mods
View Lock project artwork

CurseForge · Minecraft mod

View Lock

Lock your view to a specific axis or position!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which View Lock release should I use?

Updated 1 year ago
Latest stable file viewlock-fabric-1.21.x-1.2.2
Game version 1.21, 1.21.4, 1.21.3
Loader Fabric

View Lock viewlock-fabric-1.21.x-1.2.2 targets 1.21, 1.21.4, 1.21.3 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is View Lock required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does View Lock viewlock-fabric-1.21.x-1.2.2 need?

viewlock-fabric-1.21.x-1.2.2. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by View Lock viewlock-fabric-1.21.x-1.2.2
required
Matching file found Matched file: [1.21.1] Fabric API 0.116.18+1.21.1

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add View Lock without breaking your instance.

Built for View Lock viewlock-fabric-1.21.x-1.2.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use viewlock-fabric-1.21.x-1.2.2. It targets 1.21, 1.21.4, 1.21.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside viewlock-fabric-1.21.x-1.2.2. It opens that exact file at the source.

About this project

What does View Lock add?

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.

Usage:

Align your view to whichever x and y axis you would like and press Y. This will lock your view to those axes. To unlock/lock your up and down movement, press U. To unlock/lock your left and right movement, press I. Alternatively, just press U or I to unlock/lock your left and right or up and down movement.

Examples:

  • When using an afk farm, sometimes keeping the view steady and consistent can be difficult, especially when having to place blocks. This mod fixes that problem by allowing the user to configure their view to specific positions.
  • Repetitively placing down blocks can be quite tedious. Sometimes when placing long lines of blocks, the player will start to drift from side to side, requiring you to realign yourself. This mod allows you to align yourself to a specific axis so you don't have to deal with realignment.

Controls:

Y: Toggle locks the view to the closest x and y axes

U: Toggles locking on up and down view movement (x axis)

I: Toggles locking on left and right view movement (y axis)

Commands:

/vl <pitch: RelativeAngle> [yaw: RelativeAngle] - Precisely (and relatively) position your view to a specific pitch and yaw.

/vl block <location: vec3> [track] - Lock (and optionally track) your view to a specific block (with relative positioning).

/vl block view [track ] - Lock (and optionally track) your view to the block in your crosshair.

/vl unlock - Unlock your view without losing your state.

/vl relock - Relock your view without losing your state.

Requirements:

Fabric API

Installation:

For client side: Download the jar and place it in "../.minecraft/mods"

(Note: this mod is client-side only and should work on all servers)

Project description from CurseForge.

Pick your setup

View Lock by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

32 available setups

Showing the newest 12 of 24 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

View Lock versions and loaders

11 of 11 releases match

Looking for an older file? The official CurseForge project page is in Resources.