From dfcc029c91454fd9d157c30f524f23c1a0e99ed5 Mon Sep 17 00:00:00 2001 From: natanfudge Date: Sat, 27 Jul 2019 11:36:27 +0300 Subject: first commit --- src/main/kotlin/net/fabricmc/example/ExampleMod.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/kotlin/net/fabricmc/example/ExampleMod.kt (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/net/fabricmc/example/ExampleMod.kt b/src/main/kotlin/net/fabricmc/example/ExampleMod.kt new file mode 100644 index 0000000..aebbd4b --- /dev/null +++ b/src/main/kotlin/net/fabricmc/example/ExampleMod.kt @@ -0,0 +1,12 @@ +package net.fabricmc.example + + +@Suppress("unused") +fun init() { + // This code runs as soon as Minecraft is in a mod-load-ready state. + // However, some things (like resources) may still be uninitialized. + // Proceed with mild caution. + + println("Hello Fabric world!") +} + -- cgit 1.4.1