MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / allModList

Method allModList

lib/modCheckLib.js:1231–1242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1229 }
1230
1231 get allModList() {
1232 const returnList = {}
1233 const currentVer = this.#settings.get('game_version')
1234
1235 for ( const CKey of this.collections ) {
1236 returnList[CKey] = this.#list_allMods[CKey]
1237 if ( !this.isValidForList(CKey, currentVer) ) {
1238 returnList[CKey].mods = {}
1239 }
1240 }
1241 return returnList
1242 }
1243 /**
1244 * Send mod list to renderer
1245 * @param {Object} extra more data to include in opts

Callers

nothing calls this directly

Calls 2

isValidForListMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected