Setting to switch to an effective tool on click
NatoBoram opened this issue ยท 0 comments
Hi! I made a small mod a while ago that allowed me to swap item for the most effective one when clicking on a block here. However, Minecraft's code changes a lot and I don't really have time to maintain it properly. I also don't know Java and OOP.
With the wide range of features your mod has, I thought it would be a good idea to have this feature integrated into it.
Here's the workflow I had :
- Swap to least effective but still working tool when clicking on a block or mob
- Swap to most effective if holding Sprint key
- Don't swap if holding Sneak key
I think the integration with Sprint/Sneak is an intuitive one; Sprint is to go fast despite the hunger cost and Sneak is to be careful to not fall a cliff.
Other interesting settings :
- Swap to using hand if held item is enchanted and has 1 durability, but break it if sneak is held
- Use place block on farmland when breaking the above crop using this crop's seed