====== AutoTool ====== ^ AutoTool ^^ |{{ hack:auto:autotool.webp?500x265 |An example of AutoTool switching to the pickaxe when mining a block of stone.}}|| ^Type|[[:Hack]]| ^Category|[[Blocks]]| ^In-game description|"Automatically equips the fastest applicable tool in your hotbar when you try to break a block."| ^[[:keybinds#default_keybinds|Default keybind]]|none| ^Source code|[[w7src>net/wurstclient/hacks/AutoToolHack.java]]| The AutoTool [[hack]] automatically equips the best [[mc>tool]] from the player's [[mc>hotbar]] whenever they try to break a [[mc>block]]. When enabled, the player no longer has to think about which tool to use for which block. This saves time and is generally convenient. It is safe to keep AutoTool enabled at all times. ===== Settings ===== ==== Use swords ==== ^ Use swords ^^ ^Type|Checkbox| ^In-game description|"Uses swords to break leaves, cobwebs, etc."| ^Default value|not checked| The "Use swords" checkbox allows AutoTool to use swords to break certain blocks like leaves or cobwebs. Swords are faster at breaking these blocks, but they lose 2 durability points for each block broken because the game always considers swords to be the "wrong" tool. ==== Use hands ==== ^ Use hands ^^ ^Type|Checkbox| ^In-game description|"Uses an empty hand or a non-damageable item when no applicable tool is found."| ^Default value|checked| The "Use hands" checkbox allows AutoTool to use empty hands or non-damageable items when no appropriate tool is found in the player's hotbar. This can help to save some durability points that would otherwise be wasted by not switching away from the wrong tool. ==== Repair mode ==== ^ Repair mode ^^ ^Type|Slider| ^In-game description|"Prevents tools from being used when their durability reaches the given threshold, so you can repair them before they break.\\ Can be adjusted from 0 (off) to 100."| ^Default value|0 uses (off)| ^Minimum|0 uses (off)| ^Maximum|100 uses| ^Increment|1 use| The "Repair mode" slider prevents AutoTool from using tools when their durability reaches a certain threshold. When the durability of a tool reaches this threshold, the setting will prevent the tool from being used until it is repaired. The slider can be adjusted from 0 (off) to 100 remaining uses, in increments of 1. ==== Switch back ==== ^ Switch back ^^ ^Type|Checkbox| ^In-game description|"After using a tool, automatically switches back to the previously selected slot."| ^Default value|checked| The "Switch back" checkbox tells AutoTool to automatically switch back to the previously selected slot after using a tool. This is usually convenient, but it can cause problems when using other hacks together with AutoTool. ===== Changes ===== ^Version^Changes^ |[[update:Wurst 2.14]]|Added more "See also" links to AutoTool's [[Navigator]] page.| |[[update:Wurst 2.24]]|Fixed AutoTool trying to use tools in [[mc>creative mode]]. (Minecraft 1.8)| |:::|Fixed AutoTool not updating the selected slot sometimes. (Minecraft 1.8)| |:::|Fixed AutoTool not resetting the selected slot sometimes. (Minecraft 1.8)| |[[update:Wurst 2.27]]|Added a "Use swords as tools" checkbox to AutoTool. (Minecraft 1.8)| |:::|Fixed AutoTool sometimes selecting the wrong tool. (Minecraft 1.8)| |[[update:Wurst 5.5]]|Fixed AutoTool trying to use tools in [[mc>creative mode]].| |:::|Fixed AutoTool not updating the selected slot sometimes.| |:::|Fixed AutoTool not resetting the selected slot sometimes.| |[[update:Wurst 5.8]]|Added a "Use swords as tools" checkbox to AutoTool.| |:::|Fixed AutoTool sometimes selecting the wrong tool.| |[[update:Wurst 6.17]]|AutoTool will now consider [[mc>efficiency]] enchantments when deciding which tool to use.| |[[update:Wurst 6.24]]|Added a "[[#Repair mode]]" checkbox to AutoTool.| |:::|Added a "[[#Use hands]]" checkbox to AutoTool.| |:::|AutoTool will no longer switch back to the previously held item after breaking a block.| |[[update:Wurst 6.32]]|Added a "[[#Switch back]]" checkbox to AutoTool. (Minecraft 1.8 & 1.12)| |[[update:Wurst 7.0pre1]]|Temporarily removed AutoTool.| |[[update:Wurst 7.0pre12]]|Re-added AutoTool.| |:::|Added a "[[#Switch back]]" checkbox to AutoTool.| |[[update:Wurst 7.2]]|Fixed a crash when using [[NukerLegit]] together with AutoTool.| |[[update:Wurst 7.31]]|AutoTool's "Repair mode" setting is now a slider, so you can adjust the exact threshold where it will stop using tools.| |:::|Fixed AutoTool initially switching to the wrong slot when you are using repair mode and holding a tool that is too damaged.| {{tag>mining}}