KoremodsLoader

Handles locating, parsing, evaluating and optionally compiling Koremods Scripts and Koremods Script Packs.

Constructors

Link copied to clipboard
constructor(mode: LoaderMode)

Properties

Link copied to clipboard

a list of loaded script packs

Functions

Link copied to clipboard
Link copied to clipboard

Load Koremods Script Packs starting with a set of paths. Add all results to scriptPacks.

fun loadKoremods(dir: Path, additionalPaths: Iterable<Path>)

Load Koremods Script Packs starting with all subpaths in a directory. Add all results to scriptPacks.