Jump to content

Creating a coremod


voidzm

Recommended Posts

I'm trying to convert an extensive mod that I've been writing into a coremod (I need some ASM capabilities for some features). However, I can't really find much information on how that is supposed to work, or how a coremod is supposed to be structured internally. Do you still use the @Mod/@NetworkMod annotations, or does the mod's IFMLLoadingPlugin object function as the new "base" class of the mod? If so, how do you specify a PacketHandler and other information that usually gets inputted into those annotations?

 

Or do I have this all wrong, and a coremod is supposed to be a separate entity from the main body of the mod?

 

Any information would be helpful at this point.

Link to comment
Share on other sites

How to write coremod with access transformers:

http://www.minecraftforge.net/wiki/Using_Access_Transformers

Immibis microblocks (his mod packages also contain sources; see mods.immibis.microblocks.coremod package there, start from MicroblocksCoreMod class):

http://www.minecraftforum.net/topic/1001131-15-immibiss-mods-smp-tubestuff-5400-core-5402-da-5400-infinitubes-5401-liquid-xp-5401-microblocks-5408/

Also check CodeChickenCore, though it's vast and not so easy to understand.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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