Перейти к содержимому
Mineforgian

Tool Switcher

Automatically switches to the correct tool when breaking blocks.

Загрузки
33K
Подписчики
32
Обновлён
19 июля 2026 г.
Лицензия
MIT

Опубликован 23 июля 2025 г.

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

  • Automatically selects the optimal tool for mining, taking into account factors such as efficiency.
  • Switches to tools outside the hotbar by temporarily swapping them into your current slot.
  • Disables itself while you are sneaking, if enabled.
  • Optionally prevents switching if the current tool has Silk Touch or Fortune.
  • Fully customizable list of disabled blocks and tools.
  • Server-side disabling, just install the mod onto the server to stop clients from using it on your server.

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:

  • Each entry must be in quotes
  • Entries are separated by commas
  • Use Minecraft's resource location format: "namespace:id"
  • Works with modded items: "create:wrench", "botania:mana_tablet"

Common Tool IDs:

  • minecraft:wooden_pickaxe, minecraft:stone_pickaxe, minecraft:iron_pickaxe
  • minecraft:wooden_shovel, minecraft:stone_shovel, minecraft:iron_shovel
  • minecraft:wooden_axe, minecraft:stone_axe, minecraft:iron_axe
  • minecraft:golden_pickaxe, minecraft:golden_shovel, minecraft:golden_axe

Common Block IDs:

  • minecraft:diamond_ore, minecraft:deepslate_diamond_ore
  • minecraft:ancient_debris, minecraft:gilded_blackstone
  • minecraft:spawner, minecraft:end_portal_frame

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).

Ченджлог

3.2.0Релиз26.2 · 19 июля 2026 г.

3.2.0

  • Add server side disabling, just install the mod onto the server to stop clients from using it on your server.
  • Fix issue where tools were not being switched correctly in some cases (#8).
3.1.5Релиз26.2-pre-2, 26.2 · 30 мая 2026 г.

3.1.5

  • Fix it not always switching back if a click is too fast
  • Update to 26.2 Pre release 2
3.1.4Релиз26.1, 26.1.1, 26.1.2 · 27 мая 2026 г.

3.1.4

  • Fix inventory swapping to work on servers and properly on singleplayer
  • Fix delay not working properly
3.1.3Релиз26.1, 26.1.1, 26.1.2 · 12 мая 2026 г.

3.1.3

  • Add zh_cn translation, by HowardZHY
  • Finally fix efficiency calculation for good (ts pmo)
3.1.2Релиз26.1, 26.1.1, 26.1.2 · 15 марта 2026 г.

3.1.2

Update efficiency calculation and use a codec for the lists of ignored.

3.1.1Релиз26.1-snapshot-9 · 23 февраля 2026 г.

3.1.1

Add feature requests from Discord - Delay for tool switching & ignore inventory mode and refactor codebase

3.1.0Релиз26.1-snapshot-7 · 13 февраля 2026 г.

3.1.0

Change config system (yet again) & update to 26.1

3.0.2+1.21.10Релиз1.21.9, 1.21.10, 1.21.11 · 16 января 2026 г.

3.0.2

Search in whole inventory

Комментарии

Загружаем…