Hoping that this won't be taken down due to, if someone were to post a relevant answer, end hours of searching for something.
Now, as you may know, updates simply break mods. Shatter 'em into pieces. Now, what I'm asking for here is a simple post to guide me and many others on how to update mods so they work with a new version of minecraft.
Yes, I did google it.
Yes, I have MCP.
No, I don't know how to use MCP fully, but I understand the concepts (Putting minecraft.jar into the 'jar's folder, decompiling etc)
No, I do not know how to program in Java as of writing
Yes, I can learn, should it take me a small amount of time to find what I'm attempting to do.
Yes, I have JDK.
Yes, I set up JDK and MCP so they work (Set up the Paths etc)
No need to take me through the information that I already know, however, others googling for this may stumble apon this and need to know how to do those things.
Anyway, from what I understand, updating mods to work with the newest minecraft version is as easy as downloading the new MCP version, compatible with the current version of Minecraft, putting the mod files in, decompiling, making small/none edits to the code, recompiling. Possibly Reobfusation somewhere in there too. Is this true, or is there a completely different side to this? I managed to decompile the current version (Beta 1.4 of writing) then recompile it with an error which mentions ModelWolf.java.
Any tips or secrets that modders could give me so I don't have to wait and complain like everyone else does when a new update breaks a mod? Thanks.
*If a moderator is thinking of locking this thread, please, I have googled for hours (Literally, so far I have googled and searched for approximately 2 hours and 46 minutes at the current time of writing), unable to find an obvious answer. If a modder is to post a tutorial below this would save many more threads like this*
It's not that hard to update your minecraft mods, When the updated version of minecraft comes out you will have to decompile it with MCP, when you decompiled it you open the .java files you latered in the previous version add add in the code from your outdated mod into the right places*Example* If you had a recipe you would have to open the updated and decompiled CraftingManager.java and take the code from your customized mcraftingManager.java and only add the text that you added in the previous one. like if you added a recipe you add it again in the updated one.
Hope i helped and made some sense.
Could I have some steps for that, please? From what I understand:
1. Decompile the new Minecraft.jar with MCP
2. Open the .java files I tampered with in the previous version
3. Add the code from the previous version into the new .java file that I need to tamper with
4. Recompile
But what if it's from a mod that doesn't do those simplistic things, such as add recipes? For example, the popular X-Ray mod, or maybe the Inverted Light mod. How would one update those types of mods?
Now, as you may know, updates simply break mods. Shatter 'em into pieces. Now, what I'm asking for here is a simple post to guide me and many others on how to update mods so they work with a new version of minecraft.
Yes, I did google it.
Yes, I have MCP.
No, I don't know how to use MCP fully, but I understand the concepts (Putting minecraft.jar into the 'jar's folder, decompiling etc)
No, I do not know how to program in Java as of writing
Yes, I can learn, should it take me a small amount of time to find what I'm attempting to do.
Yes, I have JDK.
Yes, I set up JDK and MCP so they work (Set up the Paths etc)
No need to take me through the information that I already know, however, others googling for this may stumble apon this and need to know how to do those things.
Anyway, from what I understand, updating mods to work with the newest minecraft version is as easy as downloading the new MCP version, compatible with the current version of Minecraft, putting the mod files in, decompiling, making small/none edits to the code, recompiling. Possibly Reobfusation somewhere in there too. Is this true, or is there a completely different side to this? I managed to decompile the current version (Beta 1.4 of writing) then recompile it with an error which mentions ModelWolf.java.
Any tips or secrets that modders could give me so I don't have to wait and complain like everyone else does when a new update breaks a mod? Thanks.
*If a moderator is thinking of locking this thread, please, I have googled for hours (Literally, so far I have googled and searched for approximately 2 hours and 46 minutes at the current time of writing), unable to find an obvious answer. If a modder is to post a tutorial below this would save many more threads like this*
Could I have some steps for that, please? From what I understand:
1. Decompile the new Minecraft.jar with MCP
2. Open the .java files I tampered with in the previous version
3. Add the code from the previous version into the new .java file that I need to tamper with
4. Recompile
But what if it's from a mod that doesn't do those simplistic things, such as add recipes? For example, the popular X-Ray mod, or maybe the Inverted Light mod. How would one update those types of mods?
I've been looking for this for SO LONG NOW.
Locked.