Expand description
Modpack installation: Modrinth (.mrpack), CurseForge (manifest.json zip) and
ATLauncher and FTB (online packs).
Every format follows the same flow: parse the pack, install vanilla + the loader via
install_with_loader, extract overrides/configs into instance/{name}/.minecraft,
then download the files listed by the pack.
The *_files entry points only install pack contents, leaving Minecraft and its
loader for a later launch. They do not create instance_config.json.
Modules§
- atpack
- ATLauncher packs, installed from ATLauncher’s online API.
- cfpack
- CurseForge modpacks (a zip holding
manifest.jsonandoverrides/). - ftbpack
- FTB packs installed from remote version manifests, without a local pack format.
- mrpack
- Modrinth modpacks (
.mrpack).
Structs§
- Manual
Download - A file that could not be downloaded automatically (CurseForge files whose authors
disallow third-party distribution, ATLauncher
browserdownloads). - Modpack
Info - Format-independent description of a modpack.
- Modpack
Install Result
Enums§
- Modpack
Format - Format of a local modpack file. ATLauncher and FTB packs have no file format; use
atpack::install_atlauncher_packorftbpack::install_ftb_packfor those.
Functions§
- detect_
modpack_ format - Detect a modpack’s format from the zip contents.
- install_
modpack - Install a local modpack file, detecting its format.
- install_
modpack_ files - 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_loaderusing the returnedModpackInfo. No Java is required. A CurseForge client is required for CurseForge archives. - resolve_
forge_ version - Map a bare Forge version (
47.2.0) to the full string used by the Forge version list (1.20.1-47.2.0, or legacy forms like1.7.10-10.13.4.1614-1.7.10).