The AutoSwitch mod is the ideal tweak to streamline your tool switching. It will automatically switch to the tool required to destroy certain blocks. So be it stone, wood, dirt (or similar), the right tool will change as soon as you right click that block.
The tools will automatically switch back to the previous tool you were using so it makes for really easy mining. Then you can mine start mining dirt and as soon as you hit stone, the pickaxe will switch so you can break it with ease.
Probably the most beneficial feature of this mod is the switching between tool and sword when an enemy is near. As soon as you start attacking a mob the sword will be used as your selection so you don’t accidentally waste hits with your pick or shovel.
This does require an additional API found here.DownloadForumInstall Guide