Height Locked
by csclub05
Height Locked limits mining to two horizontal block layers around the player's eye height, and it is toggled from a keybind.
What it does
The mod is a client-side Fabric utility that restricts block breaking to two horizontal layers. Each time a mining attempt begins, the two permitted horizontal layers are worked out again from the player's eye height, so the layer in front of the player and the one beneath it stay open while breaking blocks on any other Y level is cancelled. It starts disabled and is switched on or off by pressing X and + together. Toggling the mode also cancels a block break already in progress.
The mod is meant to help with digging in a controlled plane, for example when cutting a flat strip through a cave wall or clearing a single horizontal band. Only the client needs it, and a multiplayer server does not have to install it for the restriction to work, since the check runs on the player's side. A short video of the mode in use is linked from the author's text. It is released under the MIT License and is open source, with the source code published publicly, and it has files for Fabric on 1.21.4, 1.21.5 and 1.21.11, with 1.0.2 as the latest file for 1.21.5, first published on 2026-07-17.
Key features
Two-layer mining limit
Block breaking is allowed only on the layer in front of the player and the layer immediately below it.
Recalculated from eye height
The two permitted layers are recomputed from the player's eye position at the start of each mining attempt.
Keybind toggle
The restriction is switched on and off by pressing X and + together, and it starts disabled.
Cancels interrupted breaks
Switching the mode mid-break cancels the block currently being mined.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Cutting flat bands
Digging a single horizontal strip through a wall or floor while keeping the other layers intact.
Who it’s for: Players who want mining confined to a horizontal band near their own height, and who prefer a key to switch the limit on and off.
How it compares
View Bobbing Keybind is a client-side Fabric mod for 1.21.8 – 1.21.11 under the MIT License and is open source, so it covers a different function on a narrower range. Screenshot Layers is client-side only and targets 1.21.4 – 1.21.11 under All rights reserved, and is not open source, so it is the closer match for version coverage but does not restrict mining.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Height Locked | Fabric | 1.21.4 – 1.21.11 | Client-side only | 2026-08-25 |
| View Bobbing Keybind | Fabric | 1.21.8 – 1.21.11 | Client-side only | 2026-04-03 |
| Screenshot Layers | Fabric | 1.21.4 – 1.21.11 | Client-side only | 2025-12-30 |
Questions
Does Height Locked need to be installed on the server?
Which game versions does Height Locked support?
How is the mode turned on?
In the catalog
Height Locked is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from csclub05
Similar mods
What the author says
The mod is client-only; it does not need to be installed on a multiplayer server.
Official listing
- Modrinth page
- modrinth.com/mod/height-locked
- Owner
- csclub05
- Published
- 2026-07-17
- Updated on Modrinth
- 2026-08-25
- Facts verified
- 2026-10-15
