aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2023-03-18 20:07:12 +0200
committerJuuz <6596629+Juuxel@users.noreply.github.com>2023-03-18 20:07:12 +0200
commit6835bb564b28075dcf05605560827d92994f44d9 (patch)
tree15579df3daf6fb02ec5b85848731028920fb2785 /src/main/resources
parent8912cc45001f7c580da2a90218a47a8ada80aa70 (diff)
downloadLibGui-6835bb564b28075dcf05605560827d92994f44d9.tar.gz
LibGui-6835bb564b28075dcf05605560827d92994f44d9.tar.bz2
LibGui-6835bb564b28075dcf05605560827d92994f44d9.zip
Update to 1.19.4, add new focus API
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
+ }
+}