![Falling Leaves (Fabric)](https://media.forgecdn.net/avatars/thumbnails/310/942/256/256/637400592017635072_animated.gif)
Use 'fabric-api' mod ID in fabric.mod.json
Poopooracoocoo opened this issue · 2 comments
Users may be confused when they see that it depends on fabric
, not knowing that it's referring to the 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
You should also add the Fabric API dependency for releases on CF and MR so that launchers can download it automatically.
Changed in 107449b, will be in the next version.
CF already had the dependencies set.
I added them to MR (all the major versions at least), but it looks like I need to do that manually each time I release a new version, so I might forget... Maybe I should finally add a publish script to the build.
Thank you!!
I tend to see projects use the MC-Publish GitHub Action, if you're not already using that. Not sure if that'd help with anything, but not everyone knows of it.