aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/fabric.mod.json9
-rw-r--r--src/main/resources/mixins.libgui.json14
2 files changed, 19 insertions, 4 deletions
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index b5d1caf..f127656 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -22,15 +22,16 @@
"client": ["io.github.cottonmc.cotton.gui.impl.client.LibGuiClient"],
"modmenu": ["io.github.cottonmc.cotton.gui.impl.modmenu.ModMenuSupport"]
},
+ "mixins": ["mixins.libgui.json"],
"depends": {
"java": ">=17",
- "fabricloader": ">=0.14.11",
+ "fabricloader": ">=0.14.17",
"fabric-api-base": ">=0.4.4",
"fabric-lifecycle-events-v1": "^2.0.2",
"fabric-networking-api-v1": "^1.0.21",
- "fabric-rendering-v1": "^1.13.0",
- "minecraft": ">=1.19.3",
- "jankson": "^5.0.0",
+ "fabric-rendering-v1": "^2.1.0",
+ "minecraft": ">=1.19.4",
+ "jankson": "^5.0.1",
"libninepatch": "^1.2.0"
},
"suggests": {
diff --git a/src/main/resources/mixins.libgui.json b/src/main/resources/mixins.libgui.json
new file mode 100644
index 0000000..24cd8ec
--- /dev/null
+++ b/src/main/resources/mixins.libgui.json
@@ -0,0 +1,14 @@
+{
+ "required": true,
+ "minVersion": "0.8",
+ "compatibilityLevel": "JAVA_17",
+ "package": "io.github.cottonmc.cotton.gui.impl.mixin",
+
+ "client": [
+ "client.ScreenAccessor"
+ ],
+
+ "injectors": {
+ "defaultRequire": 1
+ }
+}