Force Correct Tool
This modification ensures that players must use the appropriate tool when mining blocks. The system analyzes block tags and the items being used: any block with the mineable/xyz tag can only be mined with a tool marked as tools/xyz or tools/xyzs. For example, a dirt block with the minecraft:mineable/shovel tag will require a shovel that has the forge:tools/shovels tag.
It's important to note that default tags may not always work as intuitively expected. For instance, most crops are tagged as minecraft:mineable/axe, so harvesting them will require an axe.
If you want a specific block to be mineable by hand (as in the vanilla game), simply add the mineable/hand tag to it.