View Lock

View Lock

Lock your view to a specific axis or position!

by
5.7K Downloads
fabricforgeutility
Rent Server with this Mod

About this Mod

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 and unlocks 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)

Available Versions

Fabric 1.2.2 for Minecraft 1.21+release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4fabric
December 12, 2024
Fabric 1.2.1 for Minecraft 1.20.3 to 1.20.4release
MC 1.20.3, 1.20.4fabric
January 6, 2024
Fabric 1.2 for Minecraft 1.19 to 1.20.2release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2fabric
December 4, 2023
Fabric 1.2 for Minecraft 1.17 to 1.18release
MC 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2fabric
December 4, 2023
Fabric 1.1.2 for Minecraft 1.19 to 1.20release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2fabric
November 3, 2023

How to Install View Lock on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.4).

3

Install Mod

Open the mod browser in the dashboard and search for "View Lock". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforge

Minecraft Versions

1.21.4, 1.21.3, 1.21.2 (+18 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

View Lock server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.4). You can switch loaders with one click in the panel.

Is View Lock compatible with fabric and forge?

View Lock officially supports fabric, forge for Minecraft 1.21.4, 1.21.3, 1.21.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with View Lock – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if View Lock consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install View Lock with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.21.41.21.31.21.21.21.11.211.20.41.20.31.20.21.20.11.20+11 more