updateConfigModelFromGDInstanceJson

parentDirectory/instance.json

Update the given PackConfig with values gathered from the modpacks instance.json. An instance.json is usually created by GDLauncher and located in the modpacks parent directory of the data-directory.

Parameters

packConfig

An instance containing a configuration for a modpack from which to create a server pack.

instance

The instance.json-file of the modpack to read.