Wiki 9Minecraft AutoSwitch Mod Wiki
AutoSwitch Mod Wiki › Configuration

AutoSwitch Mod — Configuration

Configuration

AutoSwitch is highly customizable through its configuration file (autoswitch.json or autoswitch.conf). Users can define custom rules for specific blocks or entities, or adjust global behavior settings.

General Settings

Option Default Description
enabled true Toggles the entire mod functionality.
switchback true Returns to the previous slot after the action is complete.
durabilityThreshold 5 The minimum durability required for a tool to be selected.
useInCreative false Whether to allow tool swapping in Creative mode.
multiplayerAllowed true Enables the mod on multiplayer servers.
attackCooldownSwitchback true Waits for the weapon cooldown to finish before switching back.

Rule-Based System

Advanced users can create specific rules using the following parameters: * Priority: An integer value where higher numbers take precedence. * Target: Can be a specific BLOCK, ENTITY, or STAT (like using a Totem of Undying). * Tools: An ordered list of items or tags that should be used for the target.

Controls and Keybinds

The mod provides several keybinds to control its behavior on the fly. These can be remapped in the standard Minecraft Controls menu.

  • Toggle AutoSwitch (Default: R): Quickly enables or disables the mod. Useful if the mod is interfering with specific building tasks.
  • Toggle Switchback: Toggles whether the mod should return to the previous slot.
  • Toggle Use Worst Tool: When enabled, the mod will prioritize the tool with the lowest durability or lowest tier that can still mine the block, helping to clear out "junk" tools.
  • Config Menu: If Cloth Config and Mod Menu are installed, the configuration can be accessed directly through the in-game UI.