exclude

fun exclude(userSpecifiedExclusion: String, userSpecifiedModsWhitelist: List<String>, modsInModpack: TreeSet<File>)

Go through the mods in the modpack and exclude any of the user-specified clientside-only mods according to the filter method set in the serverpackcreator.properties. For available filters, see ExclusionFilter.

Author

Griefed

Parameters

userSpecifiedExclusion

The client mod to check whether it needs to be excluded.

modsInModpack

All mods in the modpack.