UNPKG

onelnchr-mc-loaders

Version:
44 lines (43 loc) 1.33 kB
import type { ModLoader } from 'tomate-mods'; import type { LaunchConfig } from '..'; export declare const id = "quilt"; export declare const url = "https://quiltmc.org/"; export type LoaderVersion = { separator: string; build: number; maven: string; version: string; }; export declare function listLoaders(): Promise<LoaderVersion[]>; /** * Returns all loader versions. */ export declare function listAllLoaderVersions(): Promise<string[]>; /** * Returns all loader versions that are available for a given game version. * This returns the same as listAllLoaderVersions on quilt */ export declare function listLoaderVersions(_gameVersion: string): Promise<string[]>; export declare function getProfile(gameVersion: string, loaderVersion: string): Promise<any>; /** * Downloads the latest version json and returns a partial MCLC config */ export declare function getMCLCLaunchConfig(config: LaunchConfig): Promise<{ root: string; version: { number: string; type: string; custom: string; }; }>; /** * Returns all game versions a loader supports */ export declare function listSupportedGameVersions(): Promise<{ version: string; stable: boolean; }[]>; /** * The loader config for the 'tomate-mods' package */ export declare const tomateModsModLoader: ModLoader;