aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/Firmament.kt
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-06-01 22:38:09 +0200
committernea <nea@nea.moe>2023-06-01 22:38:09 +0200
commit3a24eb80f328ec55cb4587e712a6f0c02dfa5c89 (patch)
treed56ac2c53bb766802091f89fc8a3da5d747740bc /src/main/kotlin/moe/nea/firmament/Firmament.kt
parentc969074af3ba24f7304cf78ab9fb95eb52743ba9 (diff)
downloadFirmament-3a24eb80f328ec55cb4587e712a6f0c02dfa5c89.tar.gz
Firmament-3a24eb80f328ec55cb4587e712a6f0c02dfa5c89.tar.bz2
Firmament-3a24eb80f328ec55cb4587e712a6f0c02dfa5c89.zip
Add WBar
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/Firmament.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/Firmament.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/Firmament.kt b/src/main/kotlin/moe/nea/firmament/Firmament.kt
index b3e2115..6132d3b 100644
--- a/src/main/kotlin/moe/nea/firmament/Firmament.kt
+++ b/src/main/kotlin/moe/nea/firmament/Firmament.kt
@@ -49,6 +49,7 @@ import kotlinx.coroutines.runBlocking
import kotlinx.serialization.json.Json
import kotlin.coroutines.EmptyCoroutineContext
import net.minecraft.command.CommandRegistryAccess
+import net.minecraft.util.Identifier
import moe.nea.firmament.commands.registerFirmamentCommand
import moe.nea.firmament.dbus.FirmamentDbusObject
import moe.nea.firmament.features.FeatureManager
@@ -129,4 +130,6 @@ object Firmament : ModInitializer, ClientModInitializer {
})
}
+
+ fun identifier(path: String) = Identifier(MOD_ID, path)
}