Open bombcar opened 2 years ago
Even a lib is can be run inside of MC. And it shold be just fine to start minecraft with it added as mod. I have no idea where that comes from as I never use the command line, but rely on the IntelliJ plugin. This happens only with CCC or can you reproduce it elsewhere?
Not sure this is easily possible. We could print the hash at every run of the build script such that it will show up in the logs.
So CCL is strange in that it runs from the 1.7.10 folder on a normal install. Don’t know if that affects it.
but what is crashing here isn’t runClient but gensIntellijruns - the gradle code what sets up running it in the IDE.
Nothing else I’ve seen breaks here
So you cannot get it to run? I have never had any issues with importing the project into IntelliJ directly.
Oh I can load it into intelij - and I don’t use the run from inside it usually. Just surprised that my normal commands caused an NPE.
I suspect it is looking for @Mod or something to know where to “start” and being coreLib it doesn’t have that
Could you verify that? You can use our DeveloperCapes for it. It is a lib-only project as well. Not having a PC for a few days.
Hmm, that one worked perfectly. It's gotta be something about codechickenlib itself.
Let me try some of the others that move into that 1.7.10 folder:
Baubles worked, something it is looking for in CCL it's not finding.
Aha! CCL is not a normal mod nor is it a coreMod in the IFMLLoadingPlugin method, it's basically an extension to CodeChickenCore.
https://github.com/GTNewHorizons/CodeChickenLib/commit/8933d4cf78db58e73a38453e92bd72c5a33f2bbb
Now this was run on codechickenlib - which makes sense; a library might not be able to generate runs, but we should detect it's a library and just politely warn out.
Also we should print the "build script" ID when it explodes, mine was
8fa7883b6196c1765266f4e6ddf3118d5043aafb