promotional bannermobile promotional banner

Auto Tool Swap "Automatic change between tools"

This lightweight script automatically detects the block you are looking at and instantly swaps to the correct tool in your hotbar. It’s perfect for survival, creative building, and streamlining your gameplay.

File Details

Auto Tool Swap v1.1 add-on 1.21.130.mcaddon

  • R
  • Dec 19, 2025
  • 16.41 KB
  • 3.7K
  • 1.21.130

File Name

Auto Tool Swap v1.1 add-on 1.21.130.mcaddon

Supported Versions

  • 1.21.130

- What’s New in v1.1

1. New Command System: Chat Prefixes
The Change: We have replaced the experimental /auto:swap command (which required Cheats) with a streamlined Chat Prefix system.
Usage: Simply type !autoswap on or !autoswap off in the chat.
Privacy: These commands are intercepted by the script and will not appear in global chat, keeping your conversations clean.
Survival Friendly: This change means you no longer need to enable "Activate Cheats" to use the addon, allowing you to keep earning Achievements/Trophies (as long as the behavior pack itself is allowed).

2. Smart Durability Safety
The Problem: Previously, the mod might swap to a tool that was on the verge of breaking.
The Solution: The mod now checks durability before swapping. If your best tool has 15 durability or less, the mod will refuse to equip it to save it.
Feedback: You will see a Red Warning Action Bar message: Warning: pickaxe Low Durability! so you know why the swap didn't happen.

3. Enhanced Visual Feedback
Toggle Status: You now get clear Action Bar messages ([AutoSwap] Active / Inactive) accompanied by audio cues (random.orb / random.click) when toggling the mod.

4. Builder Protection Logic
The mod maintains strict "Builder Protection." It will only swap tools if you are holding a tool or an empty hand. If you are holding a block, the mod remains passive.