aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/lorenz/mod/test')
-rw-r--r--src/main/java/at/lorenz/mod/test/LorenzTest.kt19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/at/lorenz/mod/test/LorenzTest.kt b/src/main/java/at/lorenz/mod/test/LorenzTest.kt
new file mode 100644
index 000000000..de33f3419
--- /dev/null
+++ b/src/main/java/at/lorenz/mod/test/LorenzTest.kt
@@ -0,0 +1,19 @@
+package at.lorenz.mod.test
+
+import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
+import at.lorenz.mod.LorenzMod
+import at.lorenz.mod.utils.GuiRender.renderString
+import net.minecraft.client.Minecraft
+import net.minecraftforge.client.event.RenderGameOverlayEvent
+import net.minecraftforge.fml.common.gameevent.TickEvent
+
+class LorenzTest {
+ @SubscribeEvent
+ fun renderOverlay(event: RenderGameOverlayEvent.Post) {
+ if (!LorenzMod.feature.debug.enabled) return
+
+// val currentScreen = Minecraft.getMinecraft().currentScreen
+//
+// LorenzMod.feature.debug.testPos.renderString("currentScreen: $currentScreen")
+ }
+} \ No newline at end of file