launch

fun launch(loaderMode: LoaderMode, discoveryDir: Path?, discoveryPaths: Iterable<Path>)(source)

Configures the Koremods scripting environment and initializes the loading process.

Parameters

loaderMode

the LoaderMode to use with the LOADER instance

discoveryDir

optional directory containing koremods script packs

discoveryPaths

additional paths to search for Koremods script packs