blob: 42ae06406e7669756ae54e1c21fb94ae5ce1fd8a (
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
class UltraNotifierEntryPoint : ModInitializer {
override fun onInitialize() {
UltraNotifier.onStartup()
}
}
//#endif
|