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

Q1: Do I really need to setup a separate project for coremod? I just need to alter one forge method, literally one :(

 

Q2: How can I reference code between the core and standard mods?

Can I reference the code both ways? Since these two exist in separate projects I just have troubles imagining how it should work... will putting the compiled jar in Referenced Libraries get the job done? Honestly I don't even think that I could compile a mod with unresolved reference, so... only one way referencing, I guess?

 

Q3: How can I release the coremod and standard mod in the same jar package?

I found this: "Optionally, setting FMLCorePluginContainsFMLMod: true, distributes both the core mod and FML mod in a single jar." from http://www.minecraftforge.net/wiki/Core_Mod but I am not sure how to utilize this enigmatic instruction. Does it mean that I need to have both coremod and standard mod projects in the workspace? Honestly I never tried to have more than one mod project in the same workspace, is there anything I should know about it?

 

PS: Since some of you would propably like to know what I am trying to achieve, here is a cookie for you:

I want to add a few instructions at the beginning of TileEntityBrewingStand.canBrew() corresponding to, more or less, this code:

if(mahpackage.blah.BrewingStandRecipesMaker.matchesAnyRecipe(brewingItemStacks)) return true;

 

Any help would be appreciated  ;D

Guest
This topic is now closed to further replies.

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.