I made a mod that lets you bind the scroll wheel as any keyboard!!
So I had this idea to make keybinds for the scroll wheel as I have set in other games so I decided to make my own MOD for that!
I started with setting up IntelliJ IDEA which i ended up not using as i discovered its not a very great IDE and just used VSCode.
Then I made the default Fabric project and started from there. I read some docs from Fabric and Kotlin and saw a few videos and then started actually working on the MOD.
I first worked on the system to detect the scroll wheel as a bindable key and it was pretty hard but with a little help from amp I got everything working well then after that it was the part where Minecraft actually makes the scroll wheel work as a keybind and this part was fun but really hard but after lots of struggles i got it working!
And at this point i could already try the MOD and it was working pretty well just like i wanted it.
But there were still a few things i wanted to add and that was a toggle mode in the mouse settings to toggle between keybinds mode, normal, or off:
and this was a bit easier than making the other part of the mod as i could copy a few things from the other settings and at this point the toggle was already working but it did not save the option that you chose but that was a easy addition to add a json config file to remember the state.
After i had the mod complete i worked on the artwork for the icon and I made a scroll wheel in Figma and it got pretty good i like it!
Then I wrote the README and made a GitHub release! And also uploaded to Modrinth and its live!!