Automatic Tool Swap

Automatic Tool Swap

313k Downloads

[enhancement] Config

Looodon opened this issue · 3 comments

commented

hey,
Is there a way to add a config option to disable the mod when the player is under attack? When I get attacked by small mobs and swing my sword at them the mod switches to a shovel to break dirt. It can get difficult to land hits the smaller the mob is

commented

For now, you could just press the key (default G) to toggle the functionality. I know, it’s complicated to remember this when you’re being attacked but it’s better than nothing for now. Maybe I find some time to implement it :)

commented

no worries! also another idea would be the option to blacklist blocks. My friend tried to sheer vines but every time he did they wouldnt drop, after a long time of confusion he realized it was switching to his axe instead and then pressed G. Thanks !

commented

If you plan to implement it, the config could be

NO_SWORDS = Only swap if you hold any item excluding swords
Allowed Values: ALWAYS, EMPTY_HAND, ITEMS, TOOLS, NO_TOOLS, NO_SWORDS
ignore_empty_hand = "NO_SWORDS"