OK, thanks. FML is looking at my JAR and deciding it doesn't contain a mod. So I'm still trying to figure out what I've missed. I see a subsequent load attempt which may illuminate the problem better:
And it has. Solved! Needed to clean up my mcmod.info modelling it after TGG's example: https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/resources/mcmod.info
diesieben07, thanks for helping me work through this!
I think I'm close to answering my own question. I have someone else's mod in there as well as control and it is getting loaded. In the FML log I notice that after it examines that mod it says:
However it apparently hasn't found that marker in mine although I have the @Mod annotation since it doesn't say the same thing about
modid-1.0.jar
. So, I think I just need to figure out what that marker is it's looking for.
It wasn't my intention to modify core behaviour, just add a few items. My mod doesn't show up on the mods list when I load it from JAR, but does show up, and add the items I expect, when I launch from the IDE.
I'm thinking that I've missed a build flag or a resource that only matters when running the compiled code.
This is clearly a rookie problem, but I couldn't find any previous asking of it.
I have my mod working just fine when I launch from Eclipse, however when I build a JAR (which appears to have the right stuff in it) and put it in the mods folder, Forge passes it over without loading and says in the log:
It seems I've missed something basic. Really appreciate if anyone could clue me in.
Thanks!