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.

Maybe incompatible with 1.17.1 preview releases

See original GitHub issue

I am getting this error in MultiMC -

[11:41:49] [main/INFO]: Loading for game Minecraft 1.17.1
[11:41:50] [main/INFO]: Fabric is preparing JARs on first launch, this may take a few seconds...
[11:42:00] [ForkJoinPool-1-worker-7/WARN]: Non-Fabric mod JAR at "/media/data/games/videogames/MultiMC-linux64/instances/21w08b/.minecraft/mods/preview_OptiFine_1.17_HD_U_G9_pre24.jar", ignoring
[11:42:00] [main/FATAL]: A critical error occurred
net.fabricmc.loader.discovery.ModResolutionException: Could not find required mod: optifabric requires {minecraft @ [1.16.1 || 1.16.2 || 1.16.3 || 1.16.4 || 1.16.5 || 1.17-alpha.21.8.b || 1.17-beta.4 || 1.17]}
	at net.fabricmc.loader.discovery.ModResolver.findCompatibleSet( ~[fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.discovery.ModResolver.resolve( ~[fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.FabricLoader.setup( ~[fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.FabricLoader.load( [fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.init( [fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClient.main( [fabric-loader-0.11.6.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke( ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:?]
	at java.lang.reflect.Method.invoke( ~[?:?]
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass( [NewLaunch.jar:?]
	at org.multimc.onesix.OneSixLauncher.launch( [NewLaunch.jar:?]
	at org.multimc.EntryPoint.listen( [NewLaunch.jar:?]
	at org.multimc.EntryPoint.main( [NewLaunch.jar:?]
Caused by: net.fabricmc.loader.util.sat4j.specs.ContradictionException: Creating Empty clause ?
	at net.fabricmc.loader.util.sat4j.minisat.constraints.cnf.Clauses.propagationCheck( ~[fabric-loader-sat4j-]
	at net.fabricmc.loader.util.sat4j.minisat.constraints.cnf.Clauses.sanityCheck( ~[fabric-loader-sat4j-]
	at net.fabricmc.loader.util.sat4j.minisat.constraints.MixedDataStructureDanielWL.createClause( ~[fabric-loader-sat4j-]
	at net.fabricmc.loader.util.sat4j.minisat.core.Solver.addClause( ~[fabric-loader-sat4j-]
	at net.fabricmc.loader.discovery.ModResolver.findCompatibleSet( ~[fabric-loader-0.11.6.jar:?]
	... 13 more

Maybe you can add the pre release version to the mods compatibility test or something? I am not really sure here but that’s what it looks like on the surface. Mod works fine when I change minecraft version back to 1.17

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

C0Nd3Mndcommented, Jul 10, 2021

@Hazza4569 You can open the .jar file with WinRAR (or 7-Zip probably, I used WinRAR anyways) and in the archive there’s a file called fabric.mod.json. Open it (with a text editor) and add "1.17.1" to the "depends.minecraft" array. Save it and the archiver should ask if you want to save it back to the archive (say yes). That’s all.

I could share my .jar, but inofficial builds probably shouldn’t be linked in the issue section.

Hazza4569commented, Jul 10, 2021

How can I add this? Would I have to manually compile the jar?

Alternatively does someone have a version of the jar with this fix that they could share for now?

Read more comments on GitHub >

github_iconTop Results From Across the Web

HOW TO FIX Minecraft "Your Java Runtime is ... - YouTube
With the new launcher update Mojang made it so old versions cannot use newer Java and gives you this error. If you are...
Read more >
Optifine compatibility with 1.17.1? - Reddit
When Mojang releases an update, all Realms are automatically upgraded. Until OptiFine updates to 1.17.1, use the vanilla version.
Read more >
Cannot run Forge & Optifine together on 1.17.1
An open-source project and a closed-source project are incompatible, why do you assume it is the open-source project's responsibility to become ...
Read more >
OptiFine on Twitter: "(PREVIEW) #OptiFine 1.17.1 G9 pre33 ...
(PREVIEW) #OptiFine 1.17.1 G9 pre33 has been released. ... Why It is not compatible with forge? ... The percentage is probably like 98,1716942021....
Read more >
Inventory Profiles Next - Mods - Minecraft - CurseForge
This mod will: Help you keep your inventory sorted; Replace your quasi-broken tool; Dump everything in that chest with one click; Move the...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found