get Mods To Include
open override fun getModsToInclude(modsDir: String, userSpecifiedClientMods: List<String>, userSpecifiedModsWhitelist: List<String>, minecraftVersion: String, modloader: String): List<File>
Generates a list of all mods to include in the server pack. If the user specified clientside-mods to exclude, and/or if the automatic exclusion of clientside-only mods is active, they will be excluded, too.
Return
A list of all mods to include in the server pack.
Author
Griefed
Parameters
mods Dir
The mods-directory of the modpack of which to generate a list of all its contents.
user Specified Client Mods
A list of all clientside-only mods.
user Specified Whitelist
A list of mods to include regardless if a match was found in userSpecifiedClientMods.
minecraft Version
The Minecraft version the modpack uses. When the modloader is Forge, this determines whether Annotations or Tomls are scanned.
modloader
The modloader the modpack uses.