Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Checking which mod is compatible with what loader #1

Open
MuhammadUsmanMithani opened this issue Mar 23, 2021 · 5 comments
Assignees
Labels
feature request New feature or request

Comments

@MuhammadUsmanMithani
Copy link

MuhammadUsmanMithani commented Mar 23, 2021

Make a command like const types = BeeModParser.readModType(path) in which it outputs in console.log(types) a JSON (or array) like:

{
    "forge": {
        "count":"2",
        "contents":{
            "mods":["Optifine.jar","LabyMod.jar"],
            //corresponding position of mc version of mods as in modnames
            "mcversion":["1.16.5", "1.12"]
        }
    },
    "fabric": {
        "count":"2",
        "contents":{
            "mods":["Sodium.jar","Litematica.jar"],
            //corresponding position of mc version of mods as in modnames
            "mcversion":["1.16.2", "1.16.4"]
        }
    },
    "liteloader": {
        "count":"2",
        "contents":{
            "mods":["mod1.jar","mod2.jar"],
            //corresponding position of mc version of mods as in modnames
            "mcversion":["1.16.5", "1.12"]
        }
    }
}

It can be very useful like if we want to do:

console.log(`${types.forge.count} mods for forge:`);
for (i=0;i<types.forge.mods.length;i++) {
    console.log(`${types.forge.mods[i]} of MC version: ${types.forge.mods.mcversion[i]}`);
}

console.log(`${types.fabric.count} mods for fabric:`);
for (i=0;i<types.fabric.mods.length;i++) {
    console.log(`${types.fabric.mods[i]} of MC version: ${types.fabric.mods.mcversion[i]}`);
}

console.log(`${types.liteloader.count} mods for LiteLoader:`);
for (i=0;i<types.liteloader.mods.length;i++) {
    console.log(`${types.liteloader.mods[i]} of MC version: ${types.liteloader.mods.mcversion[i]}`);
}

``` and alot more stuff is possible by it
@Nishant1500 Nishant1500 added the feature request New feature or request label Mar 23, 2021
@Nishant1500
Copy link
Owner

Already In Queue :)

@Nishant1500
Copy link
Owner

Still Thank You For Mentioning

@Nishant1500
Copy link
Owner

And How Did You Find Out This Package lmao

@MuhammadUsmanMithani
Copy link
Author

Brains

@Nishant1500
Copy link
Owner

lol tell

@Nishant1500 Nishant1500 self-assigned this Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Development

No branches or pull requests

2 participants