diff options
Diffstat (limited to 'test-fabric/src')
-rw-r--r-- | test-fabric/src/main/java/dev/isxander/yacl/test/fabric/ModMenuEntrypoint.java | 12 | ||||
-rw-r--r-- | test-fabric/src/main/resources/fabric.mod.json | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/test-fabric/src/main/java/dev/isxander/yacl/test/fabric/ModMenuEntrypoint.java b/test-fabric/src/main/java/dev/isxander/yacl/test/fabric/ModMenuEntrypoint.java new file mode 100644 index 0000000..b2dc876 --- /dev/null +++ b/test-fabric/src/main/java/dev/isxander/yacl/test/fabric/ModMenuEntrypoint.java @@ -0,0 +1,12 @@ +package dev.isxander.yacl.test.fabric; + +import com.terraformersmc.modmenu.api.ConfigScreenFactory; +import com.terraformersmc.modmenu.api.ModMenuApi; +import dev.isxander.yacl.test.GuiTest; + +public class ModMenuEntrypoint implements ModMenuApi { + @Override + public ConfigScreenFactory<?> getModConfigScreenFactory() { + return GuiTest::getModConfigScreenFactory; + } +} diff --git a/test-fabric/src/main/resources/fabric.mod.json b/test-fabric/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..15e28a4 --- /dev/null +++ b/test-fabric/src/main/resources/fabric.mod.json @@ -0,0 +1,13 @@ +{ + "schemaVersion": 1, + "id": "yacl_test", + "version": "1", + "name": "YACL Test", + "license": "LGPL-3.0-or-later", + "environment": "*", + "entrypoints": { + "modmenu": [ + "dev.isxander.yacl.test.fabric.ModMenuEntrypoint" + ] + } +} |