diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-31 09:06:24 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-31 21:50:01 +0200 |
commit | 9920062003d78864be886b1ddb79e484f44bc30a (patch) | |
tree | 80f2b5f605635e312579d41308b3f6747e7aefa8 /logic/minecraft/OneSixInstance.cpp | |
parent | 99f248ecd40d7ebe79723b8a27ac188ff5c8d13b (diff) | |
download | MultiMC-9920062003d78864be886b1ddb79e484f44bc30a.tar MultiMC-9920062003d78864be886b1ddb79e484f44bc30a.tar.gz MultiMC-9920062003d78864be886b1ddb79e484f44bc30a.tar.lz MultiMC-9920062003d78864be886b1ddb79e484f44bc30a.tar.xz MultiMC-9920062003d78864be886b1ddb79e484f44bc30a.zip |
GH-1016 print mods, jar mods and core mods on start
Needs some work - jar mods just have the uuid name
Diffstat (limited to 'logic/minecraft/OneSixInstance.cpp')
-rw-r--r-- | logic/minecraft/OneSixInstance.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/logic/minecraft/OneSixInstance.cpp b/logic/minecraft/OneSixInstance.cpp index b2b8698f..74c28a8f 100644 --- a/logic/minecraft/OneSixInstance.cpp +++ b/logic/minecraft/OneSixInstance.cpp @@ -134,6 +134,21 @@ BaseProcess *OneSixInstance::prepareForLaunch(AuthSessionPtr session) if (!m_version) return nullptr; + for(auto & mod: loaderModList()->allMods()) + { + launchScript += "mod " + mod.filename().absoluteFilePath() + "\n";; + } + + for(auto & coremod: coreModList()->allMods()) + { + launchScript += "coremod " + coremod.filename().absoluteFilePath() + "\n";; + } + + for(auto & jarmod: m_version->jarMods) + { + launchScript += "jarmod " + jarmod->name + "\n";; + } + // libraries and class path. { auto libs = m_version->getActiveNormalLibs(); |