mirror of
https://github.com/shadowfacts/Forgelin.git
synced 2025-01-05 00:54:18 +00:00
Add test mod
This commit is contained in:
parent
1eedd2da9b
commit
144cc8bac5
16
src/test/kotlin/Test.kt
Normal file
16
src/test/kotlin/Test.kt
Normal 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!")
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user