Updated Project: Recreated the Project from scratch to 1.21.11 and added more stable features.
Used GPT for debugging (to figure out how to conv to strings, what old funcs were renamed to, etc)
Updated Project: Recreated the Project from scratch to 1.21.11 and added more stable features.
Used GPT for debugging (to figure out how to conv to strings, what old funcs were renamed to, etc)
I recreated the mod from scratch to support 1.21.11, and it now has support for Summer and Spring and has less bugs.
tbh, I probably worked on this for more than 4h but thats fine. It took me a while to figure out which function to hook into, which would give me the optimal and best result. For Spring, it was pretty difficult, but then I just copied mc’s code for random tick and modified it to be faster in spring. And for Summer, I basically just copied winter, but except this time, when you went in water, you would get less dehydrated and if you went under shade, or inside a house, you would get less dehydrated. Also for Summer, the more armour you have on, the less time you will need to spend outdoors to get dehydrated. You can get hydrated again, by going in water.
Log in to leave a comment
I wanted to continue my Mod from #summer-of-making so I started by porting it to 1.21.11. Im not really sure how Java Bindings and stuff like that works, but Java seems pretty similar to cpp, except that you need to write more code. It was difficult to figure out what the old func names from 1.19 were renamed to. I didn’t think it would be too difficult, since 1.19 wasn’t that old, but a lot was changed. I was able to use the Yarn Mappings and MC Mappings website to figure out which classes to hook into. I was able to re-use some of the code from the old Seasons Mod, but I had to pretty much start over. I also fixed a bunch of the bugs that were there in the previous version, like in-consistent frostbite and stuff like that.
Log in to leave a comment