ModFolderModel system, which handles mod loading, dependency resolution, and compatibility checking.
Understanding Mod Structure
Mods in Prism Launcher are managed asResource objects with rich metadata:
- Mod Details: Name, version, description, authors
- Compatibility: Minecraft versions, mod loaders (Forge, Fabric, Quilt)
- Dependencies: Required and conflicting mods
- Metadata: Provider info (CurseForge, Modrinth), release type, file size
- Icons: Mod logos and branding
Prism Launcher automatically parses mod metadata from
fabric.mod.json, mods.toml, and other mod manifest files.Installing Mods
- From Mod Browser
- Manual Installation
- Drag and Drop
Search for Mods
Browse or search for mods from:
- CurseForge: Large collection of mods
- Modrinth: Modern, community-focused platform
- Minecraft version compatibility
- Mod loader (Forge, Fabric, Quilt)
- Categories and tags
Mod Folder Structure
Prism Launcher supports multiple mod directories:ModFolderModel instance:
loaderModList(): Main mods directorycoreModList(): Core modsnilModList(): Nil mods
Mod List View
The mod list displays comprehensive information:Column Layout
Available Columns
Available Columns
The
ModFolderModel provides these columns:- Active: Enable/disable checkbox
- Image: Mod icon/logo
- Name: Mod display name
- Version: Installed version
- Date: Last modified date
- Provider: Source (CurseForge, Modrinth, Local)
- Size: File size
- Side: Client/Server/Both
- Loaders: Compatible mod loaders
- MC Versions: Supported Minecraft versions
- Release Type: Release/Beta/Alpha
- Requires: Dependency count
- Required By: Dependent mod count
Sorting and Filtering
Mods can be sorted by any column:ENABLED: Active mods firstNAME: AlphabeticalDATE: Modification timePROVIDER: Source platformSIZE: File size
QRegularExpression for flexible search:
Enabling and Disabling Mods
Control which mods are loaded:Toggle State
Use the enable/disable controls. Prism Launcher:
- Renames files:
.jar→.jar.disabledor vice versa - Updates mod state in memory
- Handles dependencies automatically
Bulk Enable Actions
TheEnableAction system supports:
Mod Dependencies
Prism Launcher tracks mod relationships:Dependency Types
Required Dependencies
Mods that must be installed:The launcher warns if requirements are missing.
Reverse Dependencies
Mods that depend on this mod:Prevents accidental removal of required mods.
Dependency Resolution
The launcher maintains dependency graphs:GetModDependenciesTask can automatically:
- Identify missing dependencies
- Offer to download required mods
- Resolve version conflicts
Mod Metadata and Information
Each mod contains rich metadata accessible via:Basic Information
Extended Details
Visual Assets
QPixmapCache.
Updating Mods
Keep your mods current:Check for Updates
Prism Launcher can query mod platforms for newer versions:
- Compares installed version with latest available
- Filters by Minecraft version compatibility
- Shows update notifications in mod list
Select Updates
Choose which mods to update. The launcher shows:
- Current version
- Available version
- Changelog summary
Automatic updates respect your Minecraft version and mod loader compatibility requirements.
Removing Mods
- Standard Removal
- Remove with Metadata
- Metadata Only
- Checks for dependent mods
- Prompts for confirmation
- Attempts to move to system trash (recoverable)
- Falls back to permanent deletion if trash fails
Mod Cache and Indexing
Prism Launcher maintains a metadata cache:Cache Benefits
- Fast Loading: Instant mod list display without reparsing
- Offline Access: Metadata available without network
- History Tracking: Preserves download source and version info
Cache Management
- New mods are installed
- Mod files are modified
- Manual refresh is triggered
Advanced Mod Management
Jar Mods (Legacy)
For older Minecraft versions:Mod Export and Import
When exporting instances:- Mod files are included in the export
- Metadata and cache are preserved
- Mod URLs are stored for re-downloading
- Mods are automatically placed in correct directories
- Metadata is restored from cache
- Missing mods can be re-downloaded if URLs available
Best Practices
Version Compatibility
Always verify mod compatibility with your Minecraft version and mod loader before installing.
Dependency Management
Pay attention to dependency warnings. Install all required mods to avoid crashes.
Regular Updates
Keep mods updated for bug fixes and new features, but test in a backup instance first.
Performance Monitoring
Too many mods can impact performance. Disable unused mods to improve game speed.
Troubleshooting
Mod Won’t Load
Check:- Mod file has
.jarextension (not.jar.disabled) - Correct mod loader is installed (Forge/Fabric/Quilt)
- Minecraft version matches mod requirements
- All dependencies are installed
- No conflicting mods
Missing Dependencies
If you see dependency errors:Mod Conflicts
When mods conflict:- Check mod descriptions for known incompatibilities
- Disable one of the conflicting mods
- Look for compatibility patches
- Review launcher logs for specific error details
Corrupted Metadata
If mod information is incorrect:- Delete the
.indexfolder - Restart Prism Launcher
- Metadata will be regenerated automatically
