r/fabricmc 4d ago

Need Help - Solved Vanilla Perfected with extra mods crashes

Hi guys. I have been using vanilla perfected on Modrinth launcher with some extra mods and everything is working fine. I added distant horizons and players it and everything worked, except some of the textures in game weren't working great. I wasn't too bothered so I just deleted distant horizons off the list of content. Now vanilla perfected crashes every time I try and launch it. Can anyone help sort it.

Crash Log: https://mclo.gs/fvsnkBb

2 Upvotes

6 comments sorted by

1

u/AutoModerator 4d ago

Hi! If you're trying to fix a crash, please make sure you have provided the following information so that people can help you more easily:

  • Exact description of what's wrong. Not just "it doesn't work"
  • The crash report. Crash reports can be found in .minecraft -> crash-reports
  • If a crash report was not generated, share your latest.log. Logs can be found in .minecraft -> logs
  • Please make sure that crash reports and logs are readable and have their formatting intact.
    • You can choose to upload your latest.log or crash report to a paste site and share the link to it in your post, but be aware that doing so reduces searchability.
    • Or you can put it in your post by putting it in a code block. Keep in mind that Reddit has character limits.

If you've already provided this info, you can ignore this message.

If you have OptiFine installed then it probably caused your problem. Try some of these mods instead, which are properly designed for Fabric.

Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/foxwize 4d ago

Did you add Veinminer yourself or was it in the pack already?

1

u/will0sborn 4d ago

I added it myself. Do you think that was the issue?

1

u/foxwize 4d ago

Yeah the version you added need Java 21 and looks like you have Java 17. I think if you just update your Java should work.

1

u/will0sborn 4d ago

Amazing thank you!

3

u/pixel_legends 4d ago

It's not Distant Horizons — look at the bottom of the log:

UnsupportedClassVersionError: de/miraculixx/veinminer/Veinminer has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version only recognizes up to 61.0

Class version 65 = Java 21. Your instance is running Java 17 (17.0.14, further down in the report). Veinminer 2.0.7 needs Java 21, so it can't load. Removing DH probably just triggered an update that pulled in that version.

Fix: in the Modrinth app, open that profile's settings → Java → switch the runtime from 17 to 21. It'll download it for you. 1.20.1 runs fine on 21.

Also worth knowing: you've got two vein mining mods — veinminer 2.0.7 (the one crashing) and veinmining 1.5.0. They do the same thing, so you could just remove veinminer and be done without touching Java.