aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt b/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt
new file mode 100644
index 0000000..e037dd9
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt
@@ -0,0 +1,15 @@
+package com.dulkirfabric.features
+
+import com.dulkirfabric.events.WorldRenderLastEvent
+import com.dulkirfabric.util.WorldRenderUtils
+import meteordevelopment.orbit.EventHandler
+import java.awt.Color
+
+object RenderBoxTest {
+
+ @EventHandler
+ fun onRender(event: WorldRenderLastEvent) {
+ WorldRenderUtils.drawBox(event.context,0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f,
+ Color(255, 255, 255, 255), 3f, false)
+ }
+} \ No newline at end of file