aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/Registrations.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-08 19:56:59 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-08 19:56:59 -0500
commit2e2583a1f1964714624744c342321602d41b3eae (patch)
tree44cc45f8df3b5476ada48b31cd594332927ebe32 /src/main/kotlin/com/dulkirfabric/Registrations.kt
parent4e4043e5408038dde4c862da82d8a0a9bb40e950 (diff)
downloadDulkirMod-Fabric-2e2583a1f1964714624744c342321602d41b3eae.tar.gz
DulkirMod-Fabric-2e2583a1f1964714624744c342321602d41b3eae.tar.bz2
DulkirMod-Fabric-2e2583a1f1964714624744c342321602d41b3eae.zip
houseKeeping
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/Registrations.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/Registrations.kt18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/Registrations.kt b/src/main/kotlin/com/dulkirfabric/Registrations.kt
index 101feca..3068b86 100644
--- a/src/main/kotlin/com/dulkirfabric/Registrations.kt
+++ b/src/main/kotlin/com/dulkirfabric/Registrations.kt
@@ -2,10 +2,8 @@ package com.dulkirfabric
import com.dulkirfabric.DulkirModFabric.EVENT_BUS
import com.dulkirfabric.commands.ConfigCommand
-import com.mojang.brigadier.CommandDispatcher
+import com.dulkirfabric.commands.JoinDungeonCommands
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback
-import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
-import net.minecraft.command.CommandRegistryAccess
/**
* Collection of different mod registration stuff ran on initializing the mod. It is separated for readability
@@ -16,6 +14,20 @@ object Registrations {
fun registerCommands() {
val cre = ClientCommandRegistrationCallback.EVENT
cre.register(ConfigCommand::register)
+ cre.register(JoinDungeonCommands.F1Command::register)
+ cre.register(JoinDungeonCommands.F2Command::register)
+ cre.register(JoinDungeonCommands.F3Command::register)
+ cre.register(JoinDungeonCommands.F4Command::register)
+ cre.register(JoinDungeonCommands.F5Command::register)
+ cre.register(JoinDungeonCommands.F6Command::register)
+ cre.register(JoinDungeonCommands.F7Command::register)
+ cre.register(JoinDungeonCommands.M1Command::register)
+ cre.register(JoinDungeonCommands.M2Command::register)
+ cre.register(JoinDungeonCommands.M3Command::register)
+ cre.register(JoinDungeonCommands.M4Command::register)
+ cre.register(JoinDungeonCommands.M5Command::register)
+ cre.register(JoinDungeonCommands.M6Command::register)
+ cre.register(JoinDungeonCommands.M7Command::register)
}
fun registerEventListeners() {