mirror of
https://github.com/GTNewHorizons/Forgelin.git
synced 2026-11-12 16:37:34 +00:00
Add test mod
This commit is contained in:
1 parent
1eedd2da9b
commit
144cc8bac5
1 file changed
+16
@@ -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!")
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user