dmclc
Version:
Dolphin Minecraft Launcher Core
24 lines (23 loc) • 965 B
TypeScript
import { StreamZipAsync } from 'node-stream-zip';
import { Launcher } from '../../../launcher.js';
import { LoaderInfo } from "../../../version.js";
import { Modpack, ModpackFormat } from "../Modpack.js";
import { ModrinthModpackIndexV1 } from "./ModrinthModpackSchemas.js";
export declare class ModrinthModpack implements Modpack {
private zipFile;
private manifest;
private launcher;
private unzipDir?;
constructor(zipFile: StreamZipAsync, manifest: ModrinthModpackIndexV1, launcher: Launcher);
downloadMods(mcdir: string): Promise<boolean>;
getOverrideDirs(): Promise<string[]>;
getName(): string;
getSummary(): string;
getVersion(): string;
getLoaders(): LoaderInfo[];
getMinecraftVersion(): string;
}
export declare class ModrinthModpackFormat implements ModpackFormat {
readModpack(file: string, launcher: Launcher): Promise<Modpack>;
checkModpack(file: string, launcher: Launcher): Promise<boolean>;
}