Skip to content

Add FabricModIncompatibleMinecraftVersionProblem#146

Open
pavog wants to merge 1 commit intomasterfrom
fabric-incompatible-minecraft-version
Open

Add FabricModIncompatibleMinecraftVersionProblem#146
pavog wants to merge 1 commit intomasterfrom
fabric-incompatible-minecraft-version

Conversation

@pavog
Copy link
Copy Markdown
Member

@pavog pavog commented May 4, 2026

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
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