diff options
author | inglettronald <inglettronald@gmail.com> | 2023-06-13 23:49:28 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-06-13 23:49:28 -0500 |
commit | 819ec8b8355f7400e8cf38a0a5b64c5f6dd0a2f8 (patch) | |
tree | 44b62bd6ef3586110a593bb640ec1008b09e4611 /src/main/kotlin/dulkirmod/DulkirMod.kt | |
parent | 0cecb959a9ac5b261e9f5f9c855e86393843ab0d (diff) | |
download | DulkirMod-819ec8b8355f7400e8cf38a0a5b64c5f6dd0a2f8.tar.gz DulkirMod-819ec8b8355f7400e8cf38a0a5b64c5f6dd0a2f8.tar.bz2 DulkirMod-819ec8b8355f7400e8cf38a0a5b64c5f6dd0a2f8.zip |
some cooldown displays
Diffstat (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/DulkirMod.kt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt index 88b032a..de89d9e 100644 --- a/src/main/kotlin/dulkirmod/DulkirMod.kt +++ b/src/main/kotlin/dulkirmod/DulkirMod.kt @@ -10,8 +10,6 @@ import dulkirmod.features.rift.IchorHighlight import dulkirmod.features.rift.SteakDisplay import dulkirmod.utils.* import kotlinx.coroutines.CoroutineScope -import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.launch import net.minecraft.client.Minecraft import net.minecraft.client.gui.GuiScreen import net.minecraft.client.settings.KeyBinding @@ -20,7 +18,6 @@ import net.minecraftforge.common.MinecraftForge import net.minecraftforge.fml.client.registry.ClientRegistry import net.minecraftforge.fml.common.Mod import net.minecraftforge.fml.common.event.FMLInitializationEvent -import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent import net.minecraftforge.fml.common.event.FMLPreInitializationEvent import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import net.minecraftforge.fml.common.gameevent.InputEvent.KeyInputEvent @@ -28,7 +25,6 @@ import net.minecraftforge.fml.common.gameevent.TickEvent import net.minecraftforge.fml.common.gameevent.TickEvent.ClientTickEvent import org.lwjgl.input.Keyboard import java.io.File -import java.lang.management.ManagementFactory import kotlin.coroutines.EmptyCoroutineContext @Mod( @@ -89,15 +85,12 @@ class DulkirMod { mcBus.register(IchorHighlight) mcBus.register(SteakDisplay) mcBus.register(ArcherHighlight) + mcBus.register(ReaperDisplay) + mcBus.register(ImpactDisplay) keyBinds.forEach(ClientRegistry::registerKeyBinding) } - @Mod.EventHandler - fun postInit(event: FMLLoadCompleteEvent) = scope.launch(Dispatchers.IO) { - - } - @SubscribeEvent fun onTick(event: ClientTickEvent) { if (DulkirConfig.noReverse3rdPerson && mc.gameSettings.thirdPersonView == 2) |