Skip to main content

install_modpack_files

Function install_modpack_files 

Source
pub async fn install_modpack_files(
    pack_path: &Path,
    instance_name: &str,
    base_dir: &Path,
    curseforge: Option<&CurseForgeClient>,
    progress: ProgressFn,
) -> Result<ModpackInstallResult>
Expand description

Extract overrides and download pack files, detecting the local pack format. Minecraft and the mod loader are not installed; install them later with install_with_loader using the returned ModpackInfo. No Java is required. A CurseForge client is required for CurseForge archives.