Back to mods
Height Lock project artwork

Modrinth · Minecraft mod

Height Lock

A Minecraft mod that eliminates the annoying missclicks when you try to build a platform in the air, by allowing you to lock the Y-Level you can only build on.

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

Quick answer

Which Height Lock release matches 1.21.2?

Updated 4 months ago
Best match for your filters 1.0.0
Game version 1.21.2
Loader Fabric

Height Lock 1.0.0 targets 1.21.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

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

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
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

This file is marked client-only.

What else does Height Lock 1.0.0 need?

1.0.0 on 1.21.2. Every mod below is checked against that same setup.

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 Height Lock 1.0.0
required
Matching file found Matched file: [1.21.2] Fabric API 0.106.1+1.21.2

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

Before you install it

Add Height Lock without breaking your instance.

Built for Height Lock 1.0.0 on 1.21.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.21.2 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

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does Height Lock add?

This mod eliminates the annoying missclicks when building.

Demonstration

Height Lock is a client-side lightweight Fabric utility mod that lets you lock block placement to one exact Y-level.

It does not enforce anything server-side, add a HUD overlay, or try to special-case different block types. The rule is intentionally simple: if the final placement position is not on the chosen Y-level, block it.

Compatibility:

The ONLY requirement for this mod is the Fabric API

Unlock customization features by installing the Mod Menu and the Cloth Config API. (not required)

At the moment, no incompatibilities with other mods were found.

How to use

By default, the toggle key is H. You can use it to toggle the mod function itself, including the grid, that marks the Y-Level.

There are three other keybinds, that are defaulted to Not Bound, which are:

  • Decrease Target Y
  • Increase Target Y
  • Set Target Y To Current Block

Once enabled, the mod works without any need of configuration, though there are opportunities, as mentioned earlier.

Project description from Modrinth.

Pick your setup

Height Lock by Minecraft version and loader

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

16 available setups

Showing the newest 12 of 16 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

Height Lock versions and loaders

1 of 17 releases match
Clear filters

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