aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/DulkirMod.kt
diff options
context:
space:
mode:
authoringlettronald <71849533+inglettronald@users.noreply.github.com>2023-01-11 02:36:35 -0600
committeringlettronald <inglettronald@gmail.com>2023-01-11 02:36:35 -0600
commitd7062b05c3d309e7a1e14d6d50c586b1dfe2138c (patch)
tree8a599b431dbf976e501770ec02779d97229005cb /src/main/kotlin/dulkirmod/DulkirMod.kt
parentdfcc2c5818daa50b558a8a4cb81d0e92e03219d2 (diff)
downloadDulkirMod-d7062b05c3d309e7a1e14d6d50c586b1dfe2138c.tar.gz
DulkirMod-d7062b05c3d309e7a1e14d6d50c586b1dfe2138c.tar.bz2
DulkirMod-d7062b05c3d309e7a1e14d6d50c586b1dfe2138c.zip
- 1.14 commit:
oldanimations "fix" and scalable tooltips
Diffstat (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt')
-rw-r--r--src/main/kotlin/dulkirmod/DulkirMod.kt27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt
index 69ac692..7022105 100644
--- a/src/main/kotlin/dulkirmod/DulkirMod.kt
+++ b/src/main/kotlin/dulkirmod/DulkirMod.kt
@@ -61,17 +61,20 @@ class DulkirMod {
fun onInit(event: FMLInitializationEvent) {
config.init()
// REGISTER Classes and such HERE
- MinecraftForge.EVENT_BUS.register(this)
- MinecraftForge.EVENT_BUS.register(ChatEvent())
- MinecraftForge.EVENT_BUS.register(NametagCleaner)
- MinecraftForge.EVENT_BUS.register(titleUtils)
- MinecraftForge.EVENT_BUS.register(ArachneTimer())
- MinecraftForge.EVENT_BUS.register(MatchoAlert())
- MinecraftForge.EVENT_BUS.register(Croesus())
- MinecraftForge.EVENT_BUS.register(ContainerNameUtil())
- MinecraftForge.EVENT_BUS.register(DungeonLeap())
- MinecraftForge.EVENT_BUS.register(AbiphoneDND())
- MinecraftForge.EVENT_BUS.register(KeeperWaypoints())
+ val mcBus = MinecraftForge.EVENT_BUS
+ mcBus.register(this)
+ mcBus.register(ChatEvent())
+ mcBus.register(NametagCleaner)
+ mcBus.register(titleUtils)
+ mcBus.register(ArachneTimer())
+ mcBus.register(MatchoAlert())
+ mcBus.register(Croesus())
+ mcBus.register(ContainerNameUtil())
+ mcBus.register(DungeonLeap())
+ mcBus.register(AbiphoneDND())
+ mcBus.register(KeeperWaypoints())
+ mcBus.register(ScalableTooltips)
+
keyBinds.forEach(ClientRegistry::registerKeyBinding)
}
@@ -118,7 +121,7 @@ class DulkirMod {
companion object {
const val MOD_ID = "dulkirmod"
const val MOD_NAME = "Dulkir Mod"
- const val MOD_VERSION = "1.1.3"
+ const val MOD_VERSION = "1.1.4"
const val CHAT_PREFIX = "§f<§3DulkirMod§f>"
val mc: Minecraft = Minecraft.getMinecraft()