Posted May 8, 201411 yr Hello! I need help adding dependencies to my mod. In my PreInitialization Method I have: ModMetadata m = event.getModMetadata(); and then I have stuff like m.name = name etc. I just need help with the dependencies part. I want to add addons to my mod (like expansion packs) but those mods need the core mod to work. When I do m.dependencies.add It says that I need an ArtifactVersion thingie. How do I add the modid to an ArtifactVersion list/array? Thanks!
May 9, 201411 yr Add a new instance of DefaultArtifactVersion Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
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.