Posted July 27, 201312 yr I have made changes to the EntityPlayer class stored in net.minecraft.entity.player however when I recompile and reobfuscate my mod, then zip it up and put it in my forge mods folder for testing, the changes to EntityPlayer don't appear in game. What is the proper way to make changes to the EntityPlayer class? Am I going about this in the right way at all?
July 27, 201312 yr thats because vanilla change are not allowed (everything under net.minecraft* ) make a coremod if you absolutelly need it how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 27, 201312 yr Author Thanks for the info Is there any good way to do this without creating a coremod?
July 27, 201312 yr depend on what you're trying to do, theyre might be a way to NOT make the base class change else if you NEED to make base class change you can leave your mod in 1.5.2 and insert the modified files inside minecraft.jar but you're breaking compatibility with other mods how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 27, 201312 yr Author Thank you for all the help I think I want to make a coremod, but I don't know where to start. How similar is it to standard modding? Do you know of any good tutorials I could start with?
July 27, 201312 yr how are your java skills ? (my answer will differ ) how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 27, 201312 yr Author I feel very strong with Java, I'm an experienced Android app developer and have done lots of work with Java and ActionScript which is similar. I just don't know how to work with the minecraft Forge APIs yet as I actually just started modding yesterday
July 27, 201312 yr basicly forge is shipped with this library called ASM, this can modify java code at runtime (just before the game is launched, you basicly tell the JVM "use this instead" ) i dont have a tutorial for you but i only recently learned about how to use ASM myself, i think learning a bit of how java bytecode works helped a lot here my thread i posted: http://www.minecraftforge.net/forum/index.php/topic,10708.msg54477.html#msg54477 just read it and try to see what you need to know/use have a good day how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.