summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorinyourwalls <inyourwalls@tutanota.com>2024-06-19 21:19:12 -0400
committerinyourwalls <inyourwalls@tutanota.com>2024-06-19 21:19:12 -0400
commitcf9b99bc758e66a331ef448714efb1dcafc3b9e8 (patch)
treed2114b8984cc22c5f365fcd0cbe0b742334aae01 /src/main/resources
parent56531253380bcbcb7d98ea074ba31a314a39ac8f (diff)
split handler into separate file, use screen handler properties
Diffstat (limited to '')
-rw-r--r--src/main/resources/fabric.mod.json6
-rw-r--r--src/main/resources/frank.mixins.json12
2 files changed, 18 insertions, 0 deletions
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index e608d30..7abafec 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -21,6 +21,9 @@
"net.inyourwalls.frank.ModMenuIntegration"
]
},
+ "mixins": [
+ "frank.mixins.json"
+ ],
"depends": {
"fabricloader": ">=0.14.22",
"fabric-screen-api-v1": ">=0.100.1+1.21",
@@ -29,6 +32,9 @@
},
"suggests": {},
"custom": {
+ "loom:injected_interfaces": {
+ "net/minecraft/class_1720": ["net/inyourwalls/frank/ScreenHandlerPropertyAccessor"]
+ },
"modmenu": {
"links": {
"frank.matrix": "https://matrix.to/#/#mod-support:inyourwalls.net"
diff --git a/src/main/resources/frank.mixins.json b/src/main/resources/frank.mixins.json
new file mode 100644
index 0000000..4d27370
--- /dev/null
+++ b/src/main/resources/frank.mixins.json
@@ -0,0 +1,12 @@
+{
+ "required": true,
+ "minVersion": "0.8",
+ "compatibilityLevel": "JAVA_21",
+ "package": "net.inyourwalls.frank.mixin",
+ "client": [
+ "AbstractFurnaceScreenHandlerMixin"
+ ],
+ "injectors": {
+ "defaultRequire": 1
+ }
+}