Posted July 7, 201312 yr Hello, I have been studying up on ASM, and Coremods, and have written my transformer and loading plugin classes, but now I can't seem to get the whole thing loaded. If I'm right about this, it all starts in the class that implements IFMLLoadingPlugin. That references the transformer class. But as far as I can tell, it's not loading. I've tried making the dummy mod with the META-INF/MANIFEST.MF file. It has this in it: Manifest-Version: 1.0 FMLCorePlugin: jadar.asmtest.LoadingPlugin Then I put the jar in mcp/jars/mods and I get this in the logs: FML has found a non-mod file TestASM_Dummy.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. I get no sign that the code was executed. Forge dosen't report finding it, and print statements aren't showing. What am I missing? Thanks! -Jadar
July 7, 201312 yr We need more information to be able to help you. are you running it from eclipse for example. did you remember to place the project in the classpath? is your spelling of the package and class name correct? beware, the message FML has found a non-mod file .... appears even when the mod *IS* loaded. Culegooner Mods
July 7, 201312 yr Author There is a command line parameter for FML: fml.coreMods.load. Add your LoadingPlugin class there. Command line. What/Which command line? Oh right, the one that you put the username and stuff in. It is ignoring the arguemets "fml.coreMods.load jadar.asmtest.LoadingPlugin" and "-Dfml.coreMods.load=jadar.asmtest.LoadingPlugin." We need more information to be able to help you. are you running it from eclipse for example. did you remember to place the project in the classpath? is your spelling of the package and class name correct? beware, the message FML has found a non-mod file .... appears even when the mod *IS* loaded. Ok, sorry. I am running from eclipse. It has it's own project that requires the Minecraft project. The run configuration has the project in the classpath. I've checked and double-checked the spelling.
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.