diff options
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 |