Compatibility
Minecraft: Java Edition
1.21.4
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed MIT
Published 2 days ago
Updated last week
Height-Locked Mining
A client-side mod to help with digging.
Behavior
- The mod starts disabled.
- Press X + ] together to toggle it.
- While enabled, mining is allowed only on two horizontal block layers:
- the y layer directly in front of the player
- the layer immediately below it, representing the lower body.
- Attempts to mine the floor or any other Y layer are canceled.
- The two permitted layers are recalculated from the player's current eye position for every mining attempt.
- Toggling the mode cancels any currently progressing block break.
The ] part of the shortcut is available under Options → Controls → Key Binds → Height-Locked Mining. X is the fixed modifier for this mod.
Requirements
- Minecraft Java Edition 1.21.4
- Fabric Loader 0.16.10 or newer compatible release
- Fabric API for 1.21.4
- Java 21
The mod is client-only; it does not need to be installed on a multiplayer server.

Here's a video showcasing how the mod works: https://youtu.be/uXK5r0Y_8nc


