aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/features
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-11 17:19:53 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-11 17:19:53 -0500
commit63012eec9f39fb3752bcded90bfc710ab3d05219 (patch)
treea2b9ef95dcab48108d875ff51cb90e77909aa89d /src/main/kotlin/com/dulkirfabric/features
parentf3f6da9f50edfbe9ed3be42fa16146210e60fbf3 (diff)
downloadDulkirMod-Fabric-63012eec9f39fb3752bcded90bfc710ab3d05219.tar.gz
DulkirMod-Fabric-63012eec9f39fb3752bcded90bfc710ab3d05219.tar.bz2
DulkirMod-Fabric-63012eec9f39fb3752bcded90bfc710ab3d05219.zip
yeah I'm not documenting this today
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/features')
-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