Use fabric-api instead of fabric mod ID for Fabric API
Poopooracoocoo opened this issue · 4 comments
Users may be confused when they see that it depends on fabric
, not knowing that it's referring to Fabric API.
As of Minecraft 1.19.2, Fabric API's mod ID has changed from
fabric
tofabric-api
. When backporting from 1.19.2 to earlier versions, you must alter thedepends
section of yourfabric.mod.json
to expectfabric
.
From https://fabricmc.net/wiki/tutorial:setup#mod_setup
Line to change:
https://github.com/jaredlll08/Controlling/blob/1.20.1/fabric/src/main/resources/fabric.mod.json#L24
One example of a confused user:
https://www.reddit.com/r/fabricmc/comments/1bh5uws/inconpatible_mods_found_error_please_help/
I'm not sure how comfortable I am with changing it on those versions, the wiki you linked said 1.19.3+, and I don't know if people are using the mod with an older fabric api from before they made the move.
Going rather off topic as I'm not at all affected by your decision.
I know some people use fabric-api-0.76.1+1.19.2 and fabric-api-0.76.0+1.18.2 for compatibility with mods that aren't compatible with Fabric API 0.77.0's core shader changes. FAPI 0.76.0 and above have the new mod ID.