Posted March 20, 201411 yr Hello, I am trying to get loading mods from the classpath to work, with the end goal being having a central mods folder for MultiMC. I'm using CodeChickenCore, NEI and Waila for testing. I have tried both in a dev environment (adding the mods to the eclipse classpath) (http://pastebin.com/9f3pgZE4) and from in MultiMC (http://pastebin.com/fuenZX0y), both give similar results (Waila is loaded, CCC and NEI aren't, so Waila complains about missing dependency). Is it because CCC and NEI are coremods? When asking on #minecraftforge the best answer I got was to parse for the METAINF information and give it to FML using -Dfml.coreMods.load, this would be far from ideal and I really hope there is some other way. Jan
March 20, 201411 yr Author There are several reasons it's wrong/annoying, the main one being duplicated files. Is this (classpath loading of coremods) something that will be resolved at some point or will they always have to be either put in -Dfml.coreMods.load or the mods/ folder?
March 20, 201411 yr It may be addressed in the future, however, it's not that big of a priority right now. Coremods will be getting quite a bit of a overhaul sometime in the near future. But not right now. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
March 21, 201411 yr Author To bad For coremods (with the FMLCorePlugin metainf attribute) it should be doable, but is there some similar way for tweakers (contain the TweakClass metainf attribute)?
March 21, 201411 yr Nope, but there is only like 2 or 3 things out there that use TweakClass. It'll be addressed in the future, but not right now. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
March 27, 201411 yr Author Is it possible that coremods loaded using fml.coreMods.load aren't given the possibility to fetch dependencies? I tried adding CodeChickenCore, but it didn't fetch CodeChickenLib on startup, and then of course complains about it not being available.
March 27, 201411 yr Author Ok, sorry, I hade the vague memory that FMLCorePlugin.getLibraryRequestClass would be responsible for that and thought that maybe FML wouldn't call it for command line coremods. Seems like I was wrong though.
March 30, 201411 yr Author I guess I'll report this here in the hope that it'll get fixed at some point: Several coremods depend on the coremodLocation attribute being passed in with injectData, but for coremods passed in via the command line this is used (null).
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.