diff options
Diffstat (limited to 'archenemyexample/src/fabricMain/kotlin/moe/nea/test')
-rw-r--r-- | archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt b/archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt new file mode 100644 index 0000000..210bbc7 --- /dev/null +++ b/archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt @@ -0,0 +1,9 @@ +package moe.nea.test + +import net.minecraft.client.MinecraftClient + +actual object TestClass { + actual fun printTitle() { + println(MinecraftClient.getInstance().currentScreen?.toString() ?: "no screen") + } +}
\ No newline at end of file |