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 should I use?

Updated 4 months ago
Latest stable file 1.0.1
Game version 26.2
Loader Fabric

Height Lock 1.0.1 targets 26.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

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.1 need?

1.0.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Height Lock without breaking your instance.

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

  1. 01

    Stick to this file

    Use 1.0.1. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  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.1. 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

17 of 17 releases match

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