Minecraftforge: [Feature] Additional mods directory based on profile name.

Created on 27 May 2018  路  2Comments  路  Source: MinecraftForge/MinecraftForge

Currently two directories are scanned for coremods, {gamedir}/mods and {gamedir}/mods/{mcversion}. I think it would be benefitial if another directory could be scanned, this one based on the provided --version argument. This would enable multiple mod configurations to be stored for the same version. If the mcversion and profile name are the same, then of course this would have no impact.

Ex. {gamedir}/mods/production-1.11.2 and {gamedir}/mods/staging-1.11.2

The feature should be realtively simple to implement, requiring an additional location to be initialized here https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fml/relauncher/CoreModManager.java#L317 and here https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fml/relauncher/libraries/LibraryManager.java#L74.

Thank you for considering this. If implemented, could this be backported to 1.11.2 as well?

Most helpful comment

No, this would most likely cause more problems with world incompatibilities then its worth.
The official stance is if you're wanting multiple mod sets, use multiple game dirs.
This protects your settings, and worlds from accidental corruption.

But, Liach is correct, you can specify custom mod lists using the --modlist command line argument if you're so inclined.

All 2 comments

i think right now you can add mods from command line

No, this would most likely cause more problems with world incompatibilities then its worth.
The official stance is if you're wanting multiple mod sets, use multiple game dirs.
This protects your settings, and worlds from accidental corruption.

But, Liach is correct, you can specify custom mod lists using the --modlist command line argument if you're so inclined.

Was this page helpful?
0 / 5 - 0 ratings