Compatibility
Minecraft: Java Edition
1.21.3–1.21.8
1.21–1.21.1
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.12.2
1.11.2
1.10.2
1.9.4
1.8.9
1.7.10
Platforms
Supported environments
Creators
Details
Licensed Apache-2.0
Published 3 years ago
Updated 4 weeks ago
OneKeyMiner
Overview
OneKeyMiner is a Minecraft mod for Fabric that lets you mine multiple connected blocks of the same type with a single mining action. It streamlines resource gathering and is highly configurable for different playstyles and server rules.
Features
- Mine large veins of blocks (e.g., ores, logs) with one action
- Configurable block lists for each tool type (axe, hoe, pickaxe, shovel, shears, or any)
- Adjustable mining limit to prevent excessive block breaking
- Toggleable interaction mode for blocks that can be interacted with (e.g., grass, farmland)
- In-game configuration screen (singleplayer/LAN only)
- Customizable keybind for activation (singleplayer only)
- Reloadable config without restarting the game
- Legacy version support (1.7.10+)
Usage
Commands
Command | Description | Notes |
---|---|---|
/onekeyminer screen |
Opens the mod's configuration screen | Singleplayer/LAN only |
/onekeyminer limit |
Shows the current mining limit | Default: 64 |
/onekeyminer limit <number> |
Sets the max number of blocks mined per action | |
/onekeyminer <AXE/HOE/PICKAXE/SHOVEL/SHEARS/ANY> list |
Lists all blocks in the tool's mining list | |
/onekeyminer <AXE/HOE/PICKAXE/SHOVEL/SHEARS/ANY> <ADD/REMOVE> <block> |
Adds or removes a block from the tool's list | Use block IDs like minecraft:oak_log |
/onekeyminer interact |
Shows whether interaction mode is enabled | Default: false |
/onekeyminer interact <true/false> |
Enables/disables interaction mode (e.g., hoeing grass, making paths) | |
/onekeyminer reload |
Reloads the config file |
Note: Setting a very high limit may cause lag or crashes.
Keybind
- The mod can be activated with a custom key (configurable in-game, singleplayer only).
Legacy Version Notes
Version | Command Differences | Block ID Format |
---|---|---|
1.8+ | /onekeyminer screen |
Subdivided (e.g., minecraft:oak_log ) |
1.7 and below | No config screen command | Whole (e.g., minecraft:log ) |
Legacy (all) | /onekeyminer screen is /onekeyminer-screen |
Configuration & Customization
- Edit the config file or use the in-game screen (where available) to:
- Change mining limits
- Adjust block lists per tool
- Toggle interaction mode
- Set custom keybinds (singleplayer)
Contributing
Contributions, bug reports, and suggestions are welcome! Please open an issue or pull request on GitHub.