Overview
Minecraft Forge provides:- Extensive Mod Library: Thousands of mods available
- Mature Platform: Long-standing, stable modding framework
- Wide Version Support: Available for most Minecraft versions
- Complex Mods: Supports large-scale gameplay modifications
- Active Community: Large modding community and resources
Please support the Forge project through Patreon if you automate downloads, as their development is supported by ads from their download page.
Configuration
Basic Setup
Version Selection
Automatic Recommended Version
By default, the recommended Forge version for your Minecraft version is selected:Latest Forge Version
Use the latest Forge build instead of recommended:Specific Forge Version
Select a specific Forge version:Environment Variables
| Variable | Default | Description |
|---|---|---|
TYPE | - | Set to FORGE |
VERSION | latest | Minecraft version (e.g., 1.20.4) |
FORGE_VERSION | recommended | Forge version: recommended, latest, or specific version |
FORGE_INSTALLER | - | Path to pre-downloaded Forge installer |
FORGE_INSTALLER_URL | - | URL to download Forge installer |
FORGE_FORCE_REINSTALL | false | Force reinstall Forge |
FORGE_PROMOTIONS_URL | [official] | Custom promotions JSON URL |
FORGE_MAVEN_REPO_URL | [official] | Custom Maven repository URL |
Custom Forge Installer
Pre-Downloaded Installer
Use a pre-downloaded Forge installer:When using
FORGE_INSTALLER, you don’t need to specify VERSION or FORGE_VERSION.Custom Download URL
Download Forge installer from a custom location:Mod Management
Manual Mod Installation
Download Forge mods
Download Forge mods (
.jar files) from CurseForge or Modrinth.Auto-Download from CurseForge
Automatically install mods from CurseForge:Auto-Download from Modrinth
Install Forge-compatible mods from Modrinth:Forge Modpacks
CurseForge Modpacks
Automatically install complete CurseForge modpacks:Modrinth Modpacks
Popular Forge Mods
Performance Optimization
Essential Utilities
Tech Mods
NeoForge
NeoForge is a modern fork of Forge for newer Minecraft versions:Cleanroom (Legacy)
For legacy modded servers, Cleanroom can be used:Find Cleanroom release
Visit Cleanroom releases
Complete Production Example
docker-compose.yml
Mod Configuration
Config Files
Forge mods store configuration in theconfig directory:
./config/mod-name.toml./config/mod-name/settings.cfg./config/mod-name/client.cfg./config/mod-name/server.cfg
Server vs Client Configs
Server-Side Mods:- Only needed on server
- Players can connect without them
- Examples: server utilities, admin tools
- Only affect client rendering/UI
- Not needed on server
- Examples: minimaps, inventory sorters
- Required on both client and server
- Most gameplay mods
- Examples: tech mods, content mods
Performance Tuning
Memory Recommendations
| Mod Count | Players | Recommended RAM |
|---|---|---|
| < 50 | 1-10 | 4-6GB |
| 50-100 | 10-20 | 6-8GB |
| 100-200 | 20-30 | 8-12GB |
| 200+ | 30+ | 12GB+ |
JVM Flags
Optimization Mods
Install these for better performance:Troubleshooting
Installation Failed
If Forge installation fails:Mod Conflicts
- Check server logs for error messages
- Verify all mods support the same Minecraft version
- Check for known incompatibilities
- Remove mods one by one to isolate the issue
Memory Issues
- Increase allocated memory
- Install optimization mods
- Reduce render distance
- Remove resource-intensive mods
Version Compatibility
Ensure:- Minecraft version matches Forge version
- All mods support your Forge version
- Mod dependencies are installed
Migration Guide
From Vanilla to Forge
Next Steps
CurseForge Modpacks
Install complete modpacks from CurseForge
Modrinth Integration
Download mods from Modrinth
NeoForge
Try modern NeoForge fork
Hybrid Servers
Run Forge mods with plugins