question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading Classic fails on versions greater than 0.4.9

See original GitHub issue

The introduction of builtin mods broke it, because Loader can’t find the version string in the main class (either com.mojang.minecraft.Minecraft or some obfuscated name in 0.0.13a_03 onwards, like com.mojang.minecraft.l in 0.30 or com.mojang.minecraft.c in 0.30).

Loader then tries to parse the jar’s same as a version, which fails when it’s just a random name given by Loom.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Earthcomputercommented, Apr 27, 2020

I had the same issue getting alpha to load, this was the fix. I believe version parsing itself shouldn’t be broken (although I haven’t tested it), but where it finds the version in the jar might be broken. You may have to add something to net.fabricmc.loader.minecraft.McVersionLookup.getVersion(Path gameJar).

0reactions
sfPlayer1commented, Apr 27, 2020

Thanks, I believe we need to

  • add some logic to find&parse the title for these versions
  • improve the filename parsing fallback
  • add a final fallback using a fixed version
Read more comments on GitHub >

github_iconTop Results From Across the Web

KeeperFX - Test builds for version 0.4.9 - Keeper Klan Forum
Install this like you would any version of KeeperFX. You cannot bring over your save files or settings from 0.4.8. Do not overwrite...
Read more >
apollo-boost | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
Read more >
Yum update fails due to dependency resolution
Hi, I am trying to update packages in RedHat 7.6 and I keep getting this error due to dependency resolution.
Read more >
lavaan: an R package for structural equation modeling and ...
When the package is loaded, a startup message will be displayed showing the version number, and a reminder that this is beta software....
Read more >
Can't install mysql2 gem on macOS Sierra - Stack Overflow
Bundle installing the mysql2 gem kept failing, until: ... said you had to use mysql2 gem version greater than 0.3.17 with MySQL version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found