diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-01 17:48:53 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-01 17:48:53 +0200 |
commit | 0fe5e487922a6ff50b9c415b9384157fbd64b2b5 (patch) | |
tree | e62cb4b9abea80d144d95a7bd2e0114088944587 /src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt | |
download | potato-crimes-0fe5e487922a6ff50b9c415b9384157fbd64b2b5.tar.gz potato-crimes-0fe5e487922a6ff50b9c415b9384157fbd64b2b5.tar.bz2 potato-crimes-0fe5e487922a6ff50b9c415b9384157fbd64b2b5.zip |
Initial commit
Diffstat (limited to 'src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt b/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt new file mode 100644 index 0000000..a421e35 --- /dev/null +++ b/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt @@ -0,0 +1,19 @@ +package moe.nea.potatocrime + +import moe.nea.potatocrime.registry.PotatoRegistry +import net.fabricmc.api.ModInitializer +import org.slf4j.LoggerFactory + +object PotatoCrime : ModInitializer { + + val modId = "potato-crime" + private val logger = LoggerFactory.getLogger("potato-crime") + + override fun onInitialize() { + // This code runs as soon as Minecraft is in a mod-load-ready state. + // However, some things (like resources) may still be uninitialized. + // Proceed with mild caution. + logger.info("Hello Fabric world!") + PotatoRegistry.registerAll() + } +}
\ No newline at end of file |