togglemine
by Anom-uxxx
Holding down a mouse button for long mining sessions gets tiring, so togglemine lets a single hotkey keep the attack button held in place.
What it does
togglemine is a Fabric client mod for Minecraft 1.21.11 that presses and holds the left mouse button on the player's behalf. Pressing the configurable hotkey, which defaults to N, keeps the attack action running so blocks are broken continuously until the key is pressed again. The mod needs Fabric API and is released under the Apache License 2.0, though its source code is not open source.
Key features
Continuous block breaking
Blocks keep being mined without the player physically holding the left mouse button down.
Configurable hotkey
The toggle key defaults to N and can be changed in the controls settings.
Single-key mining
One press starts and one press stops the held attack, which suits long mining sessions.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
KeyPreset covers Fabric, Forge and NeoForge for 1.20.1 – 1.21.1 and is open source under the MIT License. PermaClicker is open source under the Apache License 2.0, runs on Fabric and NeoForge for 26.1.1 – 26.3, and is client-side only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| togglemine | Fabric | 1.21.11 | Client-side only | 2026-08-01 |
| KeyPreset | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Client-side only | 2026-02-23 |
| PermaClicker | Fabric and NeoForge | 26.1.1 – 26.3 | Client-side only | 2026-10-05 |
Questions
Does togglemine need Fabric API?
More from Anom-uxxx
What the author says
This mod adds a configurable hotkey (default: N) that automatically holds the attack button to keep mining blocks without physically holding the mouse button. It simplifies long mining sessions by allowing players to break blocks continuously with a single key press.
Official listing
- Modrinth page
- modrinth.com/mod/togglemine
- Owner
- Anom-uxxx
- Published
- 2026-08-01
- Updated on Modrinth
- 2026-08-01
- Facts verified
- 2026-10-15
