Add test mod

This commit is contained in:
Shadowfacts 2016-08-06 16:33:01 -04:00
parent 1eedd2da9b
commit 144cc8bac5
1 changed files with 16 additions and 0 deletions

16
src/test/kotlin/Test.kt Normal file
View File

@ -0,0 +1,16 @@
import net.minecraftforge.fml.common.FMLLog
import net.minecraftforge.fml.common.Mod
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent
/**
* @author shadowfacts
*/
@Mod(modid = "test", modLanguageAdapter = "net.shadowfacts.forgelin.KotlinAdapter")
object Test {
@Mod.EventHandler
fun preInit(event: FMLPreInitializationEvent) {
FMLLog.bigWarning("Hello from Kotlin!")
}
}