Makes both the Cloth and the ModMenu APIs optional.

We want users to be able to use this with as few dependencies as possible.
This commit is contained in:
Markil3
2021-03-02 11:18:20 -07:00
parent ddd266a0ab
commit 7be634fc47
5 changed files with 227 additions and 171 deletions

View File

@@ -22,7 +22,7 @@
"markil3.immersive_hud.Main"
],
"modmenu": [
"markil3.immersive_hud.Main"
"markil3.immersive_hud.ModMenu"
]
},
"mixins": [
@@ -35,5 +35,9 @@
"depends": {
"fabricloader": ">=0.7.4",
"minecraft": "1.16.x"
},
"suggests": {
"modmenu": "*",
"cloth-config2": "*"
}
}