
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.
Quick answer
Which Height Lock release matches 1.21.2?
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.
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.
Install Fabric API first. We found matching files for this game-version and loader setup.
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.
- 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.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 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.

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.
26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader buildShowing 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.0.0
heightlock-1.21.2-1.0.0.jar
5 May 2026
Looking for an older file? The official Modrinth project page is in Resources.