Jump to content

Multiple Mods in one mcmod.info File.[SOLVED]


Sol64

Recommended Posts

You could make an API, and let your 3 mods use that API, so that they need that API installed to make that mod to work.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

You could make an API, and let your 3 mods use that API, so that they need that API installed to make that mod to work.

 

Rephrased:

 

Create another mod and in your other 3 mods' mcmod.info files, put this:

{
    // ... other info stuff
    "dependencies" : [
        "Forge", "<your_api_mod>"
    ],
    // ... more info stuff
}

Link to comment
Share on other sites

It's like ChickenChunks.  There's a core (the "api") and then there's each mod.

Or BuildCraft.  There's the base mod, then all the extensions (as child mods)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I believe he means something like this:

{
    // first mod info stuff
    "version": "1.0"
    "name": "RANDOM"
},
{
    // second mod info stuff
    "version": "1.0"
    "name": "RANDOM 2"
},
{
    // third mod info stuff
    "version": "1.0"
    "name": "RANDOM"
}

 

At least thats what I got from the question...

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Link to comment
Share on other sites

I think like Mew, but It doesn't work, if I write like this:

{
"modid":"test"
"name":"test"
"version":"1.0.0"
"description":"Test"
},
{
"modid":"test2"
"name":"test2"
"version":"1.0.0"
"description":"Test2"
},
{
"modid":"test2"
"name":"test2"
"version":"1.0.0"
"description":"Test2"
}

Link to comment
Share on other sites

I got It! I has to be:

{
"modinfoversion":2,
"modlist":[
{
"modid":"test"
"name":"test"
"version":"1.0.0"
"description":"Test"
},
{
"modid":"test2"
"name":"test2"
"version":"1.0.0"
"description":"Test2"
},
{
"modid":"test3"
"name":"test3"
"version":"1.0.0"
"description":"Test3"
}
]
}

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.