summaryrefslogtreecommitdiff
path: root/src/main/kotlin/UltraNotifierEntryPoint.kt
blob: aa84dc5d8c0b55b20675062972ec408b82b0c214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package moe.nea.ultranotifier

//#if FORGE
//$$import net.minecraftforge.fml.common.Mod
//$$
//#if MC < 1.13
//$$import net.minecraftforge.fml.common.event.FMLInitializationEvent
//$$@Mod(modid = Constants.MOD_ID, version = Constants.VERSION, useMetadata = true)
//#else
//$$@Mod(Constants.MOD_ID)
//#endif
//$$class UltraNotifierEntryPoint {
//#if MC < 1.13
//$$	@Mod.EventHandler
//$$	fun onInit(@Suppress("UNUSED_PARAMETER") event: FMLInitializationEvent) {
//#else
//$$	init {
//#endif
//$$	    UltraNotifier.onStartup()
//$$	}
//$$}
//#else
import net.fabricmc.api.ModInitializer
class UltraNotifierEntryPoint : ModInitializer {
	override fun onInitialize() {
		UltraNotifier.onStartup()
	}
}
//#endif