blob: 34525ea5aa58865ff7b1dd72e097cb590a4d388e (
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
|
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 {
//$$ @Mod.EventHandler
//$$ fun onInit(@Suppress("UNUSED_PARAMETER") event: FMLInitializationEvent) {
//$$ UltraNotifier.onStartup()
//$$ }
//$$ }
//#else
import net.fabricmc.api.ModInitializer
object UltraNotifierEntryPoint : ModInitializer {
override fun onInitialize() {
UltraNotifier.onStartup()
}
}
//#endif
|