Add test mod
This commit is contained in:
parent
1eedd2da9b
commit
144cc8bac5
|
@ -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!")
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue