Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello guys,

I've discovered the difference between a normal mod and a coremod just yesterday.

I've searched for hours trying to understand everything correctly (as I need to do some MC base classes edits).

There isn't much information about coremods and if I have understood correctly, I need to remove  my old @mod class and using instead my new class that extends FMLLoadingPlugin.

 

How can I use proxies and all the network proprieties that I used in my old @mod class?

Is there a way or I must create 2 different mods (one is the coremod)?

Thank you as always for your support,

Axel

  • Author

I love your fast-answer ability diesieben07 :D

 

Well, I already thought about 2 different mods...but how can I work with them togheter in my eclipse workspace? Of course in order to work, my normal mod needs the edits made by the coremod (I'm editing some Minecraft packets code with ASM transformations)

 

Axel

The coremod will be loaded before "normal" mods, so you don't have to worry about that.

In Eclipse, you can do manually the base class edits you want for the "normal" mod to work.

  • Author

The coremod will be loaded before "normal" mods, so you don't have to worry about that.

In Eclipse, you can do manually the base class edits you want for the "normal" mod to work.

 

So there's no way for using a coremod in eclipse? I just read this in minecraftforum, does it actually work for calling normal mods+coremods in the same workspace?

For running a coremod in eclipse workspace, you need to add the argument (in program arguments) "fml.coreMods.load YourClassName"

and add a system property: -Dfml.coreMods.load=YourClassName

 

And the last question for now: I see many .patch files in some coremods...What is the software or java library that generates them?

 

Thanks you both guys,

Axel

  • Author

Still looking for working with a normal mod+ a coremod in eclipse. I'll try now to look for some existing code in any complicated mod...but it won't probably help me about this  :(

 

Axel

Mods don't need their own namespace. It is possible to just include two mods together.

So, for instance, you can have both:

sample.mod1.Mod1

and

sample.mod2.Mod2

 

in one mcp tree.

 

Patch files are made from the diff command, but I don't know how these people generate them.

Ok so what I do for my coremod is:

 

Edit the base files IN eclipse and put the ASM Code in my coremod file, then in another package (coremod = tattyseal.e.asm.EEFMLLoadingPlugin, mod = tattyseal.e.core.ProjectEE) have my normal mod files

 

Then when you want to release it, compile, reobfuscate and put all your code + edited minecraft code into your jar file!

 

Hope I help :)

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.