aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/test
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-11 23:31:32 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-11 23:31:32 +0200
commit05c518b2e583e337ad0b2039cd142e6ab9bd152e (patch)
tree9dad6a2268594602b9e3e77333b9705754fd0911 /src/main/java/at/lorenz/mod/test
parentddf652388cce1d14dc1a9dc7c44c5b6ccbb9c367 (diff)
downloadskyhanni-05c518b2e583e337ad0b2039cd142e6ab9bd152e.tar.gz
skyhanni-05c518b2e583e337ad0b2039cd142e6ab9bd152e.tar.bz2
skyhanni-05c518b2e583e337ad0b2039cd142e6ab9bd152e.zip
add test method
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