runCheck

abstract fun runCheck(versionMeta: VersionMeta, apiProperties: ApiProperties, utilities: Utilities, packConfig: PackConfig, configCheck: ConfigCheck = ConfigCheck(), pluginConfig: Optional<CommentedConfig>, packSpecificConfigs: ArrayList<CommentedConfig>): Boolean

Return

true if an error was encountered. false if the checks were successful.

Author

Griefed

Parameters

versionMeta

Instance of VersionMeta so you can work with available Minecraft, Forge, Fabric, LegacyFabric and Quilt versions.

apiProperties

Instance of ApiProperties The current configuration of ServerPackCreator, like the default list of clientside-only mods, the server pack directory etc.

utilities

Instance of Utilities commonly used across ServerPackCreator.

packConfig

The configuration to check.

configCheck

Contains all encountered errors during the check of the passed configuration.

pluginConfig

Configuration for this plugin, conveniently provided by ServerPackCreator.

packSpecificConfigs

Modpack and server pack specific configurations for this plugin, conveniently provided by ServerPackCreator.

Throws

if any unexpected error is encountered during the execution of this method.