Forge Annotation Scanner
class ForgeAnnotationScanner(objectMapper: ObjectMapper, utilities: Utilities) : JsonBasedScanner, Scanner<TreeSet<File>, Collection<File>>
fml-cache-annotation.json
-based scanning of Forge-Minecraft mods of older versions.
Author
Griefed
Parameters
object Mapper
For JSON-parsing.
utilities
Common utilities used across ServerPackCreator.
Functions
Link copied to clipboard
open override fun checkForClientModsAndDeps(filesInModsDir: Collection<File>, clientMods: TreeSet<String>, modDependencies: ArrayList<Pair<String, Pair<String, String>>>)
Check every file and fill the clientMods
and modDependencies
sets with ids of mods which are clientside-only or dependencies of a mod.
Link copied to clipboard
Link copied to clipboard
Acquire a JsonNode from the specified file in the specified file.
Link copied to clipboard
open override fun getModsDelta(filesInModsDir: Collection<File>, clientMods: TreeSet<String>): TreeSet<File>
Get a list of mod-jars which can safely be excluded from the server pack.