MCPcopy Create free account
hub / github.com/MultiMC/Launcher / coreModList

Method coreModList

launcher/minecraft/MinecraftInstance.cpp:974–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972}
973
974std::shared_ptr<ModFolderModel> MinecraftInstance::coreModList() const
975{
976 if (!m_core_mod_list)
977 {
978 m_core_mod_list.reset(new ModFolderModel(coreModsDir()));
979 m_core_mod_list->disableInteraction(isRunning());
980 connect(this, &BaseInstance::runningStatusChanged, m_core_mod_list.get(), &ModFolderModel::disableInteraction);
981 }
982 return m_core_mod_list;
983}
984
985std::shared_ptr<ModFolderModel> MinecraftInstance::resourcePackList() const
986{

Callers 2

getPagesFunction · 0.80
executeTaskMethod · 0.80

Calls 3

resetMethod · 0.45
disableInteractionMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected