Added support for other MODS’ and ported to new 26.1.2 Minecraft version!!!
Port to version 26.1.2
I had to remove a api that i used called LOOM because the new version does not support it its kinda built in now it was not that complicated mainly adding new imports and changing the names of API calls because of the LOOM changes also of course changing the supported Minecraft version and fabric and lastly java 25 instead of 21
Support for optional MOD’s
A MOD that I already used while using my MOD was Multi Key Bindings so I could use the scroll wheel and lets say left click for a keybind but my MOD was not really working together with it and i had to do a work around to make it work. But now i added support for it it checks if the MOD is present and if yes change how it apply’s the keybind to work with Mulity Key Binds! Then the other MOD is Zoomify this MOD might sound strange to add support to but it makes sense its while you zoom if you scroll the scroll wheel it zooms in and out more but with my mod it was overriding so again add a check if the MOD is present and if yes while zooming let Zoomify handle the mouse scroll.
And those are all the changes i did!
Log in to leave a comment
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!!