summaryrefslogtreecommitdiff
path: root/src/main/kotlin/UltraNotifierEntryPoint.kt
blob: 67dd56626d150a5e984f70352864e99e836a84b8 (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 == 10809
//$$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 == 10809
//$$	@Mod.EventHandler
//$$	fun onInit(@Suppress("UNUSED_PARAMETER") event: FMLInitializationEvent) {
//#else
//$$	init {
//#endif
//$$	    UltraNotifier.onStartup()
//$$	}
//$$}
//#else
import net.fabricmc.api.ModInitializer
object UltraNotifierEntryPoint : ModInitializer {
	override fun onInitialize() {
		UltraNotifier.onStartup()
	}
}
//#endif