fabric-example-mod icon indicating copy to clipboard operation
fabric-example-mod copied to clipboard

Remove Fabric API dependencies

Open kvverti opened this issue 5 years ago • 3 comments

Remove the modImplementation of the full fabric API, and remove "fabric": "*" from the example mod's fabric.mod.json.

Leaving the fabric API in the example mod means that many mods depend on the full Fabric API, even when they don't use all of API's modules.

This issue is part of a plan to improve depending on Fabric API.

kvverti avatar May 29 '20 20:05 kvverti

I think one possibility would be to add commented out dependencies on every existing API module. That way, enabling modules just takes a few keystrokes, and discoverability stays high.

Pyrofab avatar May 29 '20 21:05 Pyrofab

Until a solution is written up and accepted, I would say no.

i509VCB avatar May 29 '20 21:05 i509VCB

@Pyrofab JSON doesn't allow comments.

eehunter avatar Jun 28 '21 18:06 eehunter

No, this repo is to help most people get started, and most people need the API. There is a comment that mentions its not required.

modmuss50 avatar Nov 22 '22 15:11 modmuss50