From 9920062003d78864be886b1ddb79e484f44bc30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 31 May 2015 09:06:24 +0200 Subject: GH-1016 print mods, jar mods and core mods on start Needs some work - jar mods just have the uuid name --- logic/minecraft/OneSixInstance.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'logic/minecraft') 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(); -- cgit v1.2.3