Skip to content

Add FabricModIncompatibleMinecraftVersionProblem#146

Merged
JulianVennen merged 1 commit into
masterfrom
fabric-incompatible-minecraft-version
Jun 30, 2026
Merged

Add FabricModIncompatibleMinecraftVersionProblem#146
JulianVennen merged 1 commit into
masterfrom
fabric-incompatible-minecraft-version

Conversation

@pavog

@pavog pavog commented May 4, 2026

Copy link
Copy Markdown
Member

Fabric always resolves dependencies for mods in the same way, regardless of whether the dependency is for a mod, a Minecraft version, or a Java version.

This results in strange error messages such as:

Mod 'Fabric API' (fabric-api) 0.141.3+1.21.11 requires any version between 1.21.11- (inclusive) and 1.21.12- (exclusive) of 'Minecraft' (minecraft), but only the wrong version is present: 1.16.5!

And we recommend the solution:

Install the mod 'Minecraft' with version >=1.21.11-, <1.21.12-.

This may confuse some users.
That is why I have now added this FabricModIncompatibleMinecraftVersionProblem.
This explicitly intercepts the error message with the name 'Minecraft' (minecraft).

This results in the problem:

The mod 'Fabric API' is not compatible with the Minecraft version 1.16.5.

And the following two solutions are suggested:

  1. ServerInstallDifferentVersionSolution Install the version '>=1.19-alpha.22.18.a, <1.20-' of your server software.
  2. ModInstallDifferentVersionSolution Install a different version of the mod 'Fabric API'.

@pavog
pavog requested review from JulianVennen and matthi4s May 4, 2026 10:09
@JulianVennen
JulianVennen merged commit 688cd78 into master Jun 30, 2026
3 checks passed
@pavog
pavog deleted the fabric-incompatible-minecraft-version branch July 1, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants