Falling Leaves (Fabric)

Falling Leaves (Fabric)

22M Downloads

Use 'fabric-api' mod ID in fabric.mod.json

Poopooracoocoo opened this issue · 2 comments

commented

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 to fabric-api. When backporting from 1.19.2 to earlier versions, you must alter the depends section of your fabric.mod.json to expect fabric.

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.

commented

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.

commented

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.