Jump to content

Darkos333

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Darkos333

  1. Thank you Draco for your help. This is truly well-written guide, I really appreciate it. I still need some time to fully understand it, but I already have a question: What if I want to expose not only action, but also datatype? Lets say the exposed method expects SomeClass object as its argument. Where should I put SomeClass definition? Should it go into the same package with API class definition?
  2. I've managed to learn most of the things myself from other modders code shared on github, but this topic is beyond my comprehension: How to make API for my mod? I already have api subpackage with a few classes I wish to be available for outside modders, but I have no idea what is the next step
  3. Ahem... what LexManos meant by this, is that one of those mods is causing ClassNotFoundException. Try removing some of them until you nail the troublemaker down - then report the crashlog to this mod's author, telling him that his coremod is broken. On sidenote, coremods may be incompatible with each other, so be aware that not specifically a single mod, but also a combination of some mods from the list may be causing this issue.
  4. 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
×
×
  • Create New...

Important Information

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