labrinth icon indicating copy to clipboard operation
labrinth copied to clipboard

Required and Optional aren't fine-grained enough

Open SoniEx2 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Our mod doesn't technically require fabric API, but it'll have limited functionality like not being able to show the generated friend codes. This is because it relies on the lang files for that, and those are only loaded when using fabric API. (The rest of the mod, in particular being able to connect to friend codes, works fine. Obviously lang files are pretty important for having human-readable text on the UI, so arguably we should just require fabric API already, but we digress.)

Describe the solution you'd like

We'd like the ability to have a "Recommends" or "Soft-Required", with the description of "major functionality will be missing without this dependency". Similar to how fabric.mod.json does it.

Describe alternatives you've considered

We could just mark it straight-up required... Ah well.

Additional context

N/A

SoniEx2 avatar Jul 27 '22 04:07 SoniEx2

Obviously lang files are pretty important for having human-readable text on the UI, so arguably we should just require fabric API already, but we digress.

It does look like your mod should just require the API or bundle the parts it needs. Why overcomplicate the definition when it would clearly appear broken to users without it?

Madis0 avatar Aug 15 '22 10:08 Madis0