aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt b/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt
new file mode 100644
index 0000000..e1f986b
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt
@@ -0,0 +1,15 @@
+package com.dulkirfabric.util
+
+import com.dulkirfabric.config.DulkirConfig
+import moe.nea.jarvis.api.JarvisHud
+import moe.nea.jarvis.api.JarvisPlugin
+
+class JarvisIntegrationPlugin: JarvisPlugin {
+ override fun getModId(): String {
+ return "dulkirmod-fabric"
+ }
+
+ override fun getAllHuds(): List<JarvisHud> {
+ return DulkirConfig.Huds.values.toList()
+ }
+} \ No newline at end of file