OneKeyMiner
Overview
OneKeyMiner is a Minecraft modification based on Fabric that allows mining multiple connected blocks of the same type with just one action. This significantly simplifies resource gathering and offers extensive customization options for different playstyles and server rules.
Key Features
- Instant mining of large block veins (such as ores, logs) with a single click
- Customizable block lists for each tool type (axe, hoe, pickaxe, shovel, shears, or any other)
- Adjustable mining limit to prevent excessive block destruction
- Toggleable interaction mode for blocks that can be processed (e.g., grass, farmland)
- In-game configuration screen (singleplayer/LAN only)
- Customizable activation key (singleplayer only)
- Ability to reload configuration without restarting the game
- Support for older versions (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 maximum number of blocks per action | |
/onekeyminer <AXE/HOE/PICKAXE/SHOVEL/SHEARS/ANY> list |
Shows 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., grass processing, path creation) | |
/onekeyminer reload |
Reloads the configuration file |
Important: Setting too high a limit may cause lags or game crashes.
Hotkeys
- The mod can be activated using a customizable key (configured in-game, singleplayer only).
Legacy Version Features
| Version | Command Differences | Block ID Format |
|---|---|---|
| 1.8+ | /onekeyminer screen |
Subdivided (e.g., minecraft:oak_log) |
| 1.7 and below | No configuration screen command | Whole (e.g., minecraft:log) |
| Legacy (all) | /onekeyminer screen replaced with /onekeyminer-screen |
Configuration and Personalization
- Edit the configuration file or use the in-game screen (where available) to:
- Change mining limits
- Configure block lists for each tool
- Toggle interaction mode
- Set custom hotkeys (singleplayer)
Development Participation
Suggestions, bug reports, and development participation are welcome! Open issues and pull requests on GitHub.