OpenModsLib

OpenModsLib

56M Downloads

Issue with using in a new project.

dakamojo opened this issue ยท 2 comments

commented

I'm creating a new mod using this library. I am linking to the jar file and I have OpenMods as a dependency, very much like the ExampleMod project. When I launch the project from within Eclipse it loads my mod, sees the dependency on OpenBlocks, loads it, and then sees it has a dependency on OpenModsCore, but doesn't find it. I get this error.

[SEVERE] [ForgeModLoader] The mod OpenMods (OpenMods) requires mods [OpenModsCore] to be available.

Looking at OpenModsLib I see it does define the dependency.

@mod(modid = "OpenMods", name = "OpenMods", version = "@Version@", dependencies = "required-after:OpenModsCore")

However OpenModsCore appears to be a class in the project. It doesn't have the @mod annotation, but I'm guessing its not required. I'm not sure what I am doing wrong.

Any pointers?

commented

So I recently decided to import openmods/blocks/peripherals into my forge dev environment to try and play around with making my own additions to the mod, and I've run across the same issue.

I see that this issue was closed quickly by the submitter with no message about resolution.

Mind sharing with us what you did to make it work? Assuming you resolved the issue, that is.

-Thanks

commented

We probably replied to issue owner on IRC. Anyway, solution is simple: copy etc/open_mods_lib_dummy_jar.jar to your mod lib or add -Dfml.coreMods.load=openmods.OpenModsCorePlugin to JVM args