Download AutoSwitch [Fabric] — Minecraft Mods — MetaMods

AutoSwitch [Fabric]

Active

Downloads

0

Last update

6 months ago
Client
Utils

AutoSwitch [Fabric]

The Autoswitch mod automatically analyzes your hotbar contents and selects the most suitable tool for the current task. For example, if you start breaking a stone block with your fist, the system will instantly switch to a pickaxe.

How It Works

Tool selection takes into account several important conditions:

  • The tool must have more than 3 durability remaining (this value can be changed in settings)
  • The item must be on your hotbar
  • The tool must be capable of interacting with the block (the system accounts for resource mining levels, also configurable)
  • All enchantments on the tool are considered

Additional bonus - convenient hotkey for quickly enabling or disabling automatic switching, as well as a corresponding command for managing the function.

Block Mode

The system checks the block material or its specific identifier if specified in the configuration file. Tool selection is performed according to your settings.

Entity Mode

For mobs, the system analyzes the entity group or their specific identifier when present in configuration. Weapon choice is partly based on the amount of damage the tool can inflict.

For Mod Developers

In cases where tools from other mods don't work automatically, we recommend that authors of those mods add their tools to appropriate FabricToolTags. Autoswitch provides an API allowing developers to create their own tool groups similar to standard ones (pickaxe, axe, and others).

Project members
Deximus_Maximus

Deximus_Maximus

Created: 16 Apr 2025

ID: 99154