-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unneeded dependencies #119
Comments
The suggests is for mods that give better performance, you could also call it a bit of self advertising |
sodium is under recommends |
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 41ae79d..7a3f315 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -30,17 +30,20 @@
"depends": {
"fabricloader": ">=0.14.10",
"minecraft": ">=1.19.3",
- "java": ">=17",
- "cloth-config": ">=9.0.94"
+ "java": ">=17"
},
"recommends": {
"memoryleakfix": "*",
- "sodium": ">=0.4.5"
+ "sodium": ">=0.4.5",
+ "cloth-config": ">=9.0.94"
},
"suggests": {
"memoryleakfix": "*",
"lithium": ">=0.8.0"
},
+ "breaks": {
+ "cloth-config": "<9.0.94"
+ },
"custom": {
"mc-publish": {
"curseforge": 630104, would this be sufficient? |
I think all mentions of any other mods should be removed, it's a confisung situation overall but anyway |
In the latest build I moved sodium into suggests. I do recommend these mods as it has a large impact on performance |
It's just not how you'd excpect those fields to be used. Most users wouldn't even notice, but it would look weird for power users and developers who already know about the whole thing. You ideally should only use those fields for mods unlocking additional functionality |
(Why is cloth config a required dependency, still? It works fine without it) |
does it? |
It appears MoreCulling has Cloth Config JiJd, so you should probably remove this as a required dependency and put it as "embedded" instead |
Take this version for example.
It suggests Lithium, Sodium, and Memory Leak Fix. This is completely wrong as this tag should only ever be applied to mods which your mod integrates with unlocking actual additional content.
It requires Cloth Config API. This is terribly wrong as there actually isn't a requirement for it for the mod to run - it runs flawlessly without it. This also confuses many applications such as packwiz or ATLauncher forcing the user to install an actually unneeded dependency.
The text was updated successfully, but these errors were encountered: