Autoswitch (AS) reads the player's hotbar, and finds the best tool for the job currently available. (ie. you hit a stone block with your fist, it will switch to a pickaxe).
This mod is fully configurable. You will find the config files in your config folder, a quick way to get there is by opening the Resource Pack menu, open the folder, then go up a level and you will see a config folder. In general, most mods will place their config files there.
This mod has keybindings to disable switching on the fly, you will find them in the options menu with all the other keybindings.
Curseforge's markdown editor is broken, so for detailed explanation about how it works without looking like a mess, see the wiki.
Can you do it on forge pls
can i use this on a server
In reply to drakemystic2:
If it is installed on your client, yes.
Sorry if this a repeated question, but I was wondering if the mod would allow switching to tools from the inventory and not just the hotbar. Checked the config but found nothing.
In reply to deluxepter:
No, autoswitch only changes selected slot. It does not move items around the player's inventory.
Hi, I wonder if the current version works with 1.16.5?
In reply to west_sky:
Yes, any 2.x.x version will work with 1.16.5
In reply to Deximus_Maximus:
I see, thx!
not 100% sure but i think the last update fixed the annoying bug!
In reply to wawadanon:
Yay!
Love it! thanks for the work
Amazing, just one problem. When you try to break an ender chest, it automatically switches to my fortune pick instead of my silk touch. My fortune one is diamond, and my silk touch pick is netherite. No matter what i do, it goes to my fortune pick. Is there any way for it to switch to the silk touch pick?
In reply to iceonfireonice:
Add the following line to autoswitchMaterials.cfg:
minecraft-ender_chest=pickaxe;minecraft-silk_touch, pickaxe;minecraft-mending, pickaxe;minecraft-efficiency, pickaxe
I have been trying for almost a month to figure out which of my ≈50 mods (or combo of mods) were causing me severe FPS drop while looking at entities, and I just figured out last night that it was almost certainly AutoSwitch. Then I see you have an update which talks about exactly this! XD
Thanks for working hard on this. It was difficult to narrow down what mod it was because the problem is so intermittent. Sometimes I would go 1 hour without much problem, sometimes I would only last a few minutes before it was unplayable. So, I can't imagine how difficult it has been for you to figure this out. Thanks again for the cool mod.
I'll post back if the new update gives me issues.
In reply to R3altim3:
Glad you like it!
Unfortunately, I never actually reproduced it - so I just rewrote the system that was causing it.
Hopefully it fixes it for good.
In reply to Deximus_Maximus:
I hate to cause you distress (be the bearer of bad news), but it’s still happening with latest update. It seemed to be more mild, but I also didn’t give it much of a chance. When I noticed it happening again, I disabled the mod and I’m back in business.
I can’t confirm if it happens with ONLY your mod and nothing else installed, but removing your mod fixes it every time.
Normally I have between 600 and 300 FPS (thanks to Sodium, Lithium, and Phosphor), and this issue causes it to drop below 20 and even as low as 1 FPS (actually lower but it won’t show less than 1) when a mob is attacking me, then I end up dying. It happens without Those mods installed as well.
I wish I knew more about Minecraft Java and coding in general so I could help you.
I don’t know if it makes a difference but I have an add-on Graphics card and if you don’t maybe that’s why you can’t reproduce it. I’m not sure. But if it’s not happening to you, it may be an architecture/hardware quirk.
In reply to R3altim3:
What is your mod list?
What Java version are you using? If it's the one shipped with the vanilla launcher, could you try a more recent (9+) version (or visa versa)?
In reply to R3altim3:
By any chance - did you have autoswitch toggled off when you experienced the lag?
very low fps when u look at entity
In reply to usell2021:
2.11.5 may fix the issue