No more missing/not working textures due to outdated animation files.
With the new resourcepacks instead of texturepacks Mojang changed the way to configure the animation of textures. Now you need to write a simple JSON script. I converted the old text files to the new format.
Scientist mob code was code was commented out for some reason.
It works perfectly fine now, I don't know what was the issue with it.
Some refactoring for organization.
The GUI package was in the "common" section, which is wrong, because GUIs are handled by the client.
Changed the mod ID in mcmod.info file to match the ID we are currently using.
TextureAnimationConverter class
As I said before the format of animation configuration is different now. So I had the idea to make a program to convert the old files to the new format. It isn't actually part of this mod, it's just a useful tool, we should remove it from the project soon. I used it to convert the animations of Technicraft, of course, It would be a lot easier and quicker to do it by hand, because we have only 5 animated textures, but where would be the fun in that? I might take the class to a separate project, make a GUI to it or something in the future. For now it's here, if someone wants to use it or do something else with it.
Getting back to the project
I got a lot of new ideas about this project recently. I don't know why I thought I can't do anything more when I said I'm leaving. Something must've been blocking me from coming up with new ideas. I think I'm going to implement a system for connected textures, I think I have a pretty efficient and simple way to do it in mind.
The changes
The changes are:
TextureAnimationConverter class
As I said before the format of animation configuration is different now. So I had the idea to make a program to convert the old files to the new format. It isn't actually part of this mod, it's just a useful tool, we should remove it from the project soon. I used it to convert the animations of Technicraft, of course, It would be a lot easier and quicker to do it by hand, because we have only 5 animated textures, but where would be the fun in that? I might take the class to a separate project, make a GUI to it or something in the future. For now it's here, if someone wants to use it or do something else with it.
Getting back to the project
I got a lot of new ideas about this project recently. I don't know why I thought I can't do anything more when I said I'm leaving. Something must've been blocking me from coming up with new ideas. I think I'm going to implement a system for connected textures, I think I have a pretty efficient and simple way to do it in mind.