v26.0.0-alpha.5.1 - Critical NeoForge Fixes
Pre-release
Pre-release
MCDebugLauncher v26.0.0-alpha.5.1
Release Date: 2026-08-01
Critical Fixes
This hotfix release addresses critical issues in Alpha 5 that prevented NeoForge 21.10+ instances from launching correctly.
Fixed
-
NeoForge version selection now prioritizes stable releases
- Previous: Alphabetical sorting caused
21.10.0-betato be selected over21.10.64 - Fixed: Semantic version comparison ensures stable releases are selected before pre-releases
- Impact:
mdl create --loader neoforge --loader-version latestnow correctly installs the newest stable version
- Previous: Alphabetical sorting caused
-
NeoForge patched client path corrected
- Previous: Looked for
net/neoforged/neoforge/<version>/neoforge-<version>-client.jar(incorrect) - Fixed: Now uses correct Maven path
net/neoforged/minecraft-client-patched/<version>/minecraft-client-patched-<version>.jar - Impact: Eliminates "NeoForge patched client not found" warnings and ensures deobfuscated classes are available
- Previous: Looked for
-
Version mismatch detection
- Added runtime check to detect when instance.json and version.json versions don't match
- Provides clear error message instead of cryptic "Missing main class" errors
- Helps users identify when instance recreation is needed
Changed
- Code quality: Removed 24 unused import warnings
- Total warnings reduced from 58 to 34
Upgrading from Alpha 5
Important: If you created NeoForge instances with Alpha 5, you should recreate them with Alpha 5.1:
# Backup your worlds first if needed
mdl backup create <instance-name> world-backup
# Remove the old instance
rm -rf "%APPDATA%\mdl\instances\<instance-name>"
# Recreate with correct version
mdl create <instance-name> --mc-version 1.21.10 --loader neoforge --loader-version latestInstallation
Windows (x64)
- Download
mdl-v26.0-alpha.5.1-windows-x64.zip - Extract to a directory in your PATH (e.g.,
C:\Program Files\mdl\) - Or run
mdl setupto add to PATH automatically
Verify Installation
mdl --version
# Should output: mdl 26.0.0-alpha.5.1Testing
All 18 unit tests pass. Manual testing confirms:
- NeoForge 21.10.64 instances create correctly
- Patched client is found at correct Maven path
- Launch proceeds without "Missing main class" errors
- Version mismatch detection triggers correctly
Known Issues
- NeoForge extra JAR (
client-<neoform>-extra.jar) may still show warnings but doesn't prevent launch - Some dead code warnings remain (reserved for future features)
Technical Details
Root Causes Fixed
-
Version Selection Algorithm
- Old:
versions.first()after alphabetical sort - New: Semantic version comparison with stable > pre-release priority
- Implementation: Custom
compare_versions()function insrc/loader/neoforge.rs
- Old:
-
Patched Client Path
- NeoForge official installer outputs to
net/neoforged/minecraft-client-patched/ - Previous code used legacy path from pre-installer implementation
- Fix: Updated path construction in
src/instance/launcher.rs
- NeoForge official installer outputs to
Commits in This Release
edc37f1Fix NeoForge version selection and mismatch detection2da8606Clean up unused imports and variablesb5bf224Fix NeoForge patched client pathae395f6Bump version to 26.0.0-alpha.5.1
Links
License
Apache License 2.0 - See LICENSE file for details