跳到正文

Toolwise

Automatically switches to the best hotbar tool or weapon, switches back afterwards, and stops tools from breaking.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Toolwise

Always the right tool, and never a broken one.

Toolwise picks the best tool from your hotbar the moment you start mining a block, picks your strongest weapon when you hit a mob, and puts you back on the slot you were holding once you are done. It also stops you from spending the last few uses of a tool, so your favourite pickaxe does not vanish in the middle of a tunnel.

Client-side only, no setup needed, works out of the box.

Features

  • Best tool for every block – start mining and Toolwise switches to the right hotbar tool: pickaxe for stone, shovel for dirt, axe for logs. It first prefers a tool that actually gets the block’s drops, then the fastest one (Efficiency is taken into account). If nothing in your hotbar is better than what you hold, nothing changes.
  • Best weapon for mobs – when you attack a living mob, Toolwise switches to the hotbar item with the best damage × attack speed (for example a sword instead of a pickaxe).
  • Back to your slot – shortly after you stop attacking (10 ticks = 0.5 s, configurable) you are returned to the slot you had before. If you pick a slot yourself in the meantime, Toolwise leaves your choice alone.
  • Break protection – a tool with 3 or fewer uses left (configurable, 0 turns it off) is never selected automatically, and mining with it is blocked with a short message above the hotbar. If another suitable tool is in your hotbar, Toolwise uses that one instead. Protection for weapons is optional and off by default, so a fight is never blocked.
  • Stays out of the way – only your hotbar is used (nothing is moved around in your inventory), it is inactive in Creative and Spectator, and you can pause it by holding Sneak (optional).
  • Toggle key and command – bind "Toggle Toolwise" in Options → Controls → Key Binds (unbound by default), or use /toolwise.
  • English and German translations.

Screenshots

  1. Mining deepslate: Toolwise switched from the sword to the diamond pickaxe on its own.
  2. Hitting a mob: Toolwise switched from the pickaxe to the diamond sword.
  3. Break protection: a wooden pickaxe with 1 use left is kept instead of being used up.
  4. /toolwise shows and changes all settings in game.

Installation

  1. Install Fabric Loader (0.20.1 or newer) for Minecraft 26.3.
  2. Put Fabric API and the Toolwise jar into your mods folder.
  3. Start the game. Java 25 is required (the official Minecraft launcher ships it for 26.3).
Minecraft 26.3
Loader Fabric (Loader 0.20.1+)
Dependencies Fabric API (required)
Side Client only – not needed on servers
Java 25

Configuration

Type /toolwise to see the current settings. Every change is saved to config/toolwise.json right away.

Command Default What it does
/toolwise toggle on Turn Toolwise on or off
/toolwise blocks <true/false> true Best tool when mining blocks
/toolwise weapons <true/false> true Best weapon when attacking mobs
/toolwise return <true/false> true Switch back to the previous slot afterwards
/toolwise delay <0-100> 10 Ticks to wait before switching back
/toolwise protect <0-50> 3 Protect tools with this many uses left or fewer (0 = off)
/toolwise protectweapons <true/false> false Also block attacks with an almost broken weapon
/toolwise sneakpause <true/false> false Holding Sneak pauses switching
/toolwise messages <true/false> true Short messages above the hotbar
/toolwise reload – Reload config/toolwise.json after editing it by hand

Good to know

  • Only items in your hotbar are considered.
  • Silk Touch and Fortune are not treated specially in 1.0.0; among equal tools the fastest one wins.
  • Like a manual switch in vanilla, changing the held item resets the attack cooldown, so the first hit right after an automatic weapon switch can be weaker.
  • Toolwise only changes your selected hotbar slot, the same thing the mouse wheel does. It has not been tested on multiplayer servers. Some servers do not allow automatic tool switching, so check the server rules first.
  • Tested on Minecraft 26.3 with Fabric Loader 0.20.1 and Fabric API 0.165.0+26.3 in singleplayer, and additionally together with Sodium 0.9.3-beta.1. Other mod combinations have not been tested.

FAQ

Do I need it on the server? No. Toolwise is client-side only.

How do I switch it off quickly? Bind the "Toggle Toolwise" key or type /toolwise toggle.

Will it ever use up my tool? Not with the default settings. Mining stops at 3 uses left. Set /toolwise protect 0 if you want to use every last point.

Is there a Forge or NeoForge version? Not in 1.0.0. Only Fabric for Minecraft 26.3 is supported.

Is there a config screen? Not in 1.0.0. Use /toolwise or edit config/toolwise.json.

Community & Support

Questions, bug reports or ideas? Join our Discord

License

Toolwise is released under the MIT License.

常见问题

Toolwise 支持哪些 Minecraft 版本?

Toolwise 支持 Minecraft Java 版 26.3,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Toolwise 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

FilipPikus12333 的其他作品

查看全部 →