One Key Miner Wiki › Guides › Set Up Custom Block-to-Tool Mappings
Set Up Custom Block-to-Tool Mappings
View Current Mappings
Check which blocks are already linked to a tool:
`
/onekeyminer <tool> list
`
Replace <tool> with pickaxe, axe, shovel, hoe, or sword.
Add a Block to a Tool
Link a new block type to respond to a specific tool:
`
/onekeyminer <tool> add <block_name>
`
For example: /onekeyminer shovel add dirt makes dirt break in bulk when you sneak-break it with a shovel.
Remove a Block from a Tool
Unlink a block so it no longer triggers bulk-breaking:
`
/onekeyminer <tool> remove <block_name>
`
Practical Setup
Common configurations:
- Pickaxe: stone, ore blocks, deepslate variants
- Axe: logs, wood, stripped wood
- Shovel: dirt, grass, sand, gravel
- Hoe: farmland, grass blocks (if interact mode is enabled)
Customize based on your playstyle and current project.