feat: Add support for Minecraft 26.1 (JavaRuntimeEpsilon & DefaultUserJvm)#20
feat: Add support for Minecraft 26.1 (JavaRuntimeEpsilon & DefaultUserJvm)#20kazaminosuke wants to merge 4 commits intogorilla-devs:masterfrom
Conversation
📝 WalkthroughWalkthroughThe PR adds a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR adds support for Minecraft 26.1 by introducing the
JavaRuntimeEpsilonvariant toMinecraftJavaProfileand theDefaultUserJvmvariant toArgumentType.Motivation
Minecraft 26.1 (and recent snapshots) introduces:
java-runtime-epsilon.default-user-jvm.Currently, the launcher fails to parse the version manifest and arguments for these versions. This change allows Daedalus to correctly recognize and handle these new fields.
Changes
JavaRuntimeEpsilontoMinecraftJavaProfileand updated its string conversion methods.DefaultUserJvmtoArgumentType(mapped via serde).Verification
Verified that the launcher can now successfully parse and launch Minecraft 26.1 instances without crashing on the version check or argument parsing.
Summary by CodeRabbit
Release Notes