generateConfigFromModpack

fun generateConfigFromModpack(modpackDirectory: File): PackConfig

Generate a PackConfig from a modpack-directory, resulting in a basic server pack configuration with default values, for an easy-to-use starting point of a server pack config.

Return

A PackConfig for the specified modpack. If no manifests were available, then this PackConfig will only contain basic values, like a list of clientside-only mods, but no detected Minecraft version, modloader, or modloader version etc.

Author

Griefed

Parameters

modpackDirectory

The directory which contains the modpack for which a server pack config should be generated.