aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt
blob: a421e3533bd2afa29017c5ce43c1c2ae4d2f666d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()
	}
}