Posted December 16, 201410 yr Hello, is there a way to have a core and a normal mod in one file, otherwise i would have to upload two different files for one mod . If i use a "zip" file the normal mod is loading, if i name it to a "jar" file the coremod get's loaded. Is there a way to load both?
December 16, 201410 yr I think the best is to upload the normal mod and core mod, and let the normal mod download the core mod if it's missing. if you do that people only need to download the normal mod.
December 16, 201410 yr Author Yes, but ... the core mod stuff is sooooo small. About 20 lines, creating a new mod/ file for this seems so ... Isn't there a way to combine this?
December 18, 201410 yr Author I tried to combine core and normal mod in one class: @Mod(modid = CraftingManagerMod.modid, name = CraftingManagerMod.name, version = CraftingManagerMod.version) public class CraftingManagerMod extends DummyModContainer{ public CraftingManagerMod() { super(new ModMetadata()); ModMetadata meta = getMetadata(); meta.modId = CraftingManagerMod.modid + "core"; meta.name = CraftingManagerMod.name + " Core"; meta.version = CraftingManagerMod.version; //String.format("%d.%d.%d.%d", majorVersion, minorVersion, revisionVersion, buildVersion); meta.credits = "CreativeMD"; meta.authorList = Arrays.asList("CreativeMD"); meta.description = ""; meta.url = ""; meta.updateUrl = ""; meta.screenshots = new String[0]; meta.logoFile = ""; } ... but this only worked out on server side . This sucks ...
December 18, 201410 yr Author Thanks, works fine on client side, but server gets a duplicating error . Is there a way to fix this?
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.