ModsFinder

AutoToolSwap

by zachphul

AutoToolSwap, a Fabric client mod, changes the hotbar slot to the tool suited to the block being mined or the mob being attacked.

FabricClient-side onlyMIT License1.21.10 – 1.21.11

What it does

When a player mines a block or attacks a mob, the mod looks through the hotbar for a suitable tool and selects it. Tool choice follows the target type, the tool's tier with Netherite ranked first, then Diamond, then Iron, and enchantments such as Efficiency and Sharpness. An optional swap-back can return the player to the previously selected slot after the action ends.

The mod only changes which hotbar slot is selected and never moves items between slots, so the inventory layout stays as the player arranged it. It is a client-side only mod, so a server does not need it and players can join a server without installing it. It targets Fabric and is published for 1.21.10 and 1.21.11, with 1.0.0 for 1.21.11 as the latest file. The mod requires Fabric API and YetAnotherConfigLib (YACL), and Mod Menu is optional for opening its settings in game. The code is under the MIT License and is not open source.

Key features

  1. Automatic tool selection

    Selects the hotbar tool that fits the block being mined or the mob being hit, without a manual slot change.

  2. Tier and enchantment ranking

    Ranks candidate tools by material tier and by enchantments such as Efficiency and Sharpness.

  3. Optional swap-back

    Can return to the slot the player had selected before the action, once the action is done.

  4. Hotbar only

    Changes the selected hotbar slot and leaves every item in its place.

Compatibility

Latest build for each game version and loader.

1.21.111.0.0
1.21.101.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

YetAnotherConfigLib (YACL)A builder-based configuration library for Minecraft!
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 1

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

Use cases

Mining with mixed tools

A player holding a pickaxe, an axe and a shovel can break each block type without reselecting the tool between blocks.

Combat during exploration

A player who switches between mining and fighting can have the sword selected when a mob is hit.

How it compares

Full comparison

Auto Tool Switch is a Fabric mod for 1.21.10 with a server-side only environment and All rights reserved licensing, so it runs on the server rather than in the client. AutoBreachSwap is a Fabric client-side only mod that covers 1.21 – 1.21.11 and is under All rights reserved. No Item Swap Animation exists in two builds: the version for 1.21.10 is client-side only under the MIT License, and the version for 1.21.11 is also client-side only under the MIT License and not open source.

ModLoadersGame versionsEnvironmentUpdated
AutoToolSwapFabric1.21.10 – 1.21.11Client-side only2026-06-15
Auto Tool SwitchFabric1.21.10Server-side only2026-02-25
AutoBreachSwapFabric1.21 – 1.21.11Client-side only2026-03-20
No Item Swap AnimationFabric1.21.10Client-side only2025-12-27

Questions

Does AutoToolSwap need to be installed on the server?

No. Only the player's game needs it, and servers run without it.

Which dependencies does AutoToolSwap require?

Fabric API and YetAnotherConfigLib (YACL) are required. Mod Menu is optional and lets players open the settings screen.

Which game versions does AutoToolSwap support?

Files exist for 1.21.10 and 1.21.11, and the latest Fabric file is 1.0.0 for 1.21.11.

In the catalog

AutoToolSwap is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from zachphul

All projects

Similar mods

What the author says

Stop manually switching tools. AutoToolSwap detects what you are mining or attacking and equips the best tool.
zachphul, on the Modrinth page

Official listing

Owner
zachphul
Published
2026-06-15
Updated on Modrinth
2026-06-15
Facts verified
2026-10-15

Tags