labrinth
labrinth copied to clipboard
Required and Optional aren't fine-grained enough
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
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?