scan

open override fun scan(jarFiles: Collection<File>): TreeSet<File>

Scan the fabric.mod.json-files in mod JAR-files of a given directory for their sideness.

If environment specifies client, and is not listed as a dependency for another mod, it is added and therefore later on excluded from the server pack.

Return

List of mods not to include in server pack based on fabric.mod.json-content.

Author

Griefed

Parameters

jarFiles

A list of files in which to check the fabric.mod.json-files.