aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-26 18:55:30 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-26 18:55:30 +0200
commit8ab44088546bf3360564e1a09f0831fea7659d2e (patch)
treeef8441392283614d2cc6700d056465b714eec5c4 /src/main
parent928f6a45017df8aeb467e6879b350ade89c73d9a (diff)
downloadFirmament-8ab44088546bf3360564e1a09f0831fea7659d2e.tar.gz
Firmament-8ab44088546bf3360564e1a09f0831fea7659d2e.tar.bz2
Firmament-8ab44088546bf3360564e1a09f0831fea7659d2e.zip
Isolate modmenu compat
[no changelog]
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/modmenu/FirmamentModMenuPlugin.kt14
-rw-r--r--src/main/resources/fabric.mod.json2
2 files changed, 1 insertions, 15 deletions
diff --git a/src/main/kotlin/modmenu/FirmamentModMenuPlugin.kt b/src/main/kotlin/modmenu/FirmamentModMenuPlugin.kt
deleted file mode 100644
index f889bf3..0000000
--- a/src/main/kotlin/modmenu/FirmamentModMenuPlugin.kt
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-package moe.nea.firmament.modmenu
-
-import com.terraformersmc.modmenu.api.ConfigScreenFactory
-import com.terraformersmc.modmenu.api.ModMenuApi
-import moe.nea.firmament.gui.config.AllConfigsGui
-
-class FirmamentModMenuPlugin : ModMenuApi {
- override fun getModConfigScreenFactory(): ConfigScreenFactory<*> {
- return ConfigScreenFactory { AllConfigsGui.makeScreen(it) }
- }
-}
-
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index cb623dc..08072ef 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -34,7 +34,7 @@
"moe.nea.firmament.rei.FirmamentReiPlugin"
],
"modmenu": [
- "moe.nea.firmament.modmenu.FirmamentModMenuPlugin"
+ "moe.nea.firmament.compat.modmenu.FirmamentModMenuPlugin"
],
"jarvis": [
"moe.nea.firmament.jarvis.JarvisIntegration"