CreativeMD Posted December 16, 2014 Posted December 16, 2014 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? Quote
Matthbo Posted December 16, 2014 Posted December 16, 2014 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. Quote
Matthbo Posted December 16, 2014 Posted December 16, 2014 A lot of mods that require coremods do this Quote
CreativeMD Posted December 16, 2014 Author Posted December 16, 2014 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? Quote
CreativeMD Posted December 18, 2014 Author Posted December 18, 2014 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 ... Quote
CreativeMD Posted December 18, 2014 Author Posted December 18, 2014 Thanks, works fine on client side, but server gets a duplicating error . Is there a way to fix this? Quote
CreativeMD Posted December 19, 2014 Author Posted December 19, 2014 Fixed it , i missed a zip of my mod. Thanks for helping me out. Quote
Recommended Posts
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.