Overview
The CurseForge integration (internally called “Flame” after the API name) offers:- Extensive modpack library - Access to thousands of CurseForge modpacks
- Advanced search and filtering - Find modpacks by category, mod loader, and version
- Automatic dependency resolution - Downloads required mods automatically
- Fingerprint matching - Accurate mod identification using file fingerprints
- Update checking - Detect available updates for installed mods
- Export functionality - Export instances as CurseForge modpacks
Creating a CurseForge Instance
Browse or search
Use the search bar to find specific modpacks, or browse by category and sorting options.
Choose a version
Select your preferred version from the dropdown menu. The latest version is selected by default.
Sorting and Filtering
Sort Options
CurseForge provides multiple sorting methods:- Featured - Highlighted and promoted modpacks
- Popularity - Most popular modpacks
- Last Updated - Recently updated modpacks
- Name - Alphabetical order
- Author - Sort by creator
- Total Downloads - Most downloaded modpacks
- Category - Group by category
- Game Version - Sort by Minecraft version
Filter Criteria
Filter modpacks by:- Mod Loader - Forge, NeoForge, Fabric, or Quilt
- Minecraft Version - Specific game versions
- Categories - Technology, magic, adventure, quests, etc.
CurseForge filtering uses category IDs internally. The launcher automatically translates user-friendly names to the correct category identifiers.
Technical Implementation
Flame API
The integration uses CurseForge’s Flame API, which provides: Project Search -/mods/search?gameId=432
- Query modpacks with pagination
- Filter by mod loader, version, and categories
- Return project metadata and files
/mods/{modId}/files/{fileId}
- Get specific file information
- Download URLs and checksums
- Changelog data
/fingerprints
- Match installed files to CurseForge projects
- Bulk fingerprint lookup for updates
- Accurate mod identification
Resource Type Class IDs
CurseForge uses class IDs to categorize content:- Mods:
6 - Modpacks:
4471 - Resource Packs:
12 - Shader Packs:
6552 - Data Packs:
6945
These class IDs are used in API requests to filter results to the correct content type.
Mod Loader Types
The API uses numeric IDs for mod loaders:- Forge:
1 - Cauldron:
2 - LiteLoader:
3 - Fabric:
4 - Quilt:
5 - NeoForge:
6
Fingerprint Matching
CurseForge uses fingerprint-based file identification for accurate mod tracking.Updating CurseForge Mods
Prism Launcher can check for and install updates to CurseForge mods.Update Detection
The launcher uses two methods:- Fingerprint matching - Identifies current versions by file fingerprint
- Version comparison - Checks for newer file releases on CurseForge
Smart Loader Selection
When multiple mod loaders are available, the launcher prioritizes:- Mods matching your instance’s current loader (e.g., Forge)
- Mods compatible with your Minecraft version
- The most recently updated version if multiple matches exist
If a mod has versions for both Forge and Fabric, the launcher will select the version matching your instance’s mod loader, even if the other loader’s version is newer.
Exporting to CurseForge
You can export your custom instances as CurseForge-compatible modpacks.Configure the export
- Set pack name, version, and author
- Choose which files to include (mods, configs, etc.)
- Exclude client-only or server-only files if needed
Changelogs and Descriptions
The launcher can fetch additional information from CurseForge:- Mod descriptions - Full HTML descriptions from project pages
- File changelogs - Release notes for specific versions
These are fetched on-demand when you view a mod’s details, reducing initial load time.
Troubleshooting
Common Issues
“Failed to download modpack”- Check your internet connection
- Verify the modpack file is still available on CurseForge
- Some files may require manual download due to redistribution restrictions
- Some mods may have dependencies not hosted on CurseForge
- Check the modpack description for manual installation steps
- Update Prism Launcher to the latest version
- Verify your CurseForge API key is valid (if required)
- Check that mods were originally installed from CurseForge
- Some mods may have been removed or hidden by authors
API Requirements
Prism Launcher uses CurseForge’s public API. Starting in 2022, CurseForge requires API keys for some operations. Prism Launcher includes built-in API access, but high-volume users may need to provide their own API key.
Source Code Reference
The CurseForge (Flame) integration is implemented in:/launcher/modplatform/flame/FlameAPI.h- API client interface/launcher/modplatform/flame/FlameAPI.cpp- API implementation/launcher/modplatform/flame/PackManifest.h- Manifest parsing/launcher/modplatform/flame/FileResolvingTask.cpp- Dependency resolution/launcher/ui/pages/modplatform/flame/FlamePage.cpp- User interface
