Jump to content

Recommended Posts

Posted

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?

Posted

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-

Posted

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-

Posted

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?

Posted

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 :P

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.