HomeJavaModsTool Switcher
Tool Switcher

Tool Switcher

modrinth curseforge codeberg

Tool Switcher is a simple utility mod that enables you to automatically switch tools depending on what block you are trying to break.

Features

Config

All configuration options can be edited in the config file at config/tool-switcher.toml or through Mod Menu & McQoy (recommended).

General Settings

Option Type Default Description
enabled true/false true Enable/disable the mod. Can be toggled with a keybind (default: Period).
showMessage true/false true Whether to show a message on the screen when keybind is pressed.

Behavior Settings

Option Type Default Description
sneaking true/false true Whether Tool Switcher turns off while sneaking.
goBack true/false true Whether to restore the previous tool/slot after releasing the attack key.
respectSilkFortune true/false true Whether to not switch tools if you are holding a silk touch/fortune tool.

Filter Settings

Option Type Default Description
disabledTools String Array [] Tools that don't get switched to.
disabledBlocks String Array [] Blocks that don't trigger tool switching.
How to Configure Filters

Tools and blocks must be specified using Minecraft's resource location format in the TOML array syntax.

Example config file (config/tool-switcher.toml):

# Enable or disable the mod. Can be toggled with a keybind.
enabled = true
# Whether Tool Switcher turns off while sneaking
sneaking = true
# Whether to show a message on the screen when keybind is pressed
showMessage = true
# Whether to restore the previous tool/slot after releasing the attack key
goBack = true
# Whether to not switch tools if you are holding a Silk Touch or Fortune Tool
respectSilkFortune = true

# Tools that don't get switched to
disabledTools = [
    "minecraft:wooden_pickaxe",
    "minecraft:wooden_shovel",
    "minecraft:golden_pickaxe"
]

# Blocks that don't trigger tool switcher
disabledBlocks = [
    "minecraft:diamond_block",
    "minecraft:emerald_ore",
    "minecraft:ancient_debris"
]

Format:

Common Tool IDs:

Common Block IDs:

How It Works

Hotbar Tools: If the best tool is in your hotbar, Tool Switcher selects that slot.

Inventory Tools: If the best tool is outside your hotbar, Tool Switcher temporarily swaps it into your current slot. When you release the attack key (or finish mining), it swaps back automatically (if goBack is enabled).

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more