aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/features/RenderTest.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/features/RenderTest.kt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt b/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt
index 5eda0f9..179ad3d 100644
--- a/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt
+++ b/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt
@@ -2,6 +2,7 @@ package com.dulkirfabric.features
import com.dulkirfabric.events.EntityLoadEvent
import com.dulkirfabric.events.WorldRenderLastEvent
+import com.dulkirfabric.util.render.GlowingEntityInterface
import com.dulkirfabric.util.render.WorldRenderUtils
import meteordevelopment.orbit.EventHandler
import net.minecraft.text.Style
@@ -18,12 +19,12 @@ object RenderTest {
Vec3d(-183.5, 79.0, -465.5)
)
- WorldRenderUtils.drawBox(event.context, 0.0, 0.0, 0.0, 2.0, 2.0, 2.0, Color(0, 200, 200, 150), false)
+ WorldRenderUtils.drawBox(event.context, 16.0, 119.0, -6.0, 2.0, 2.0, 2.0, Color(0, 200, 200, 150), false)
}
@EventHandler
fun onLoadEnt(event: EntityLoadEvent) {
- //if (event.entity !is GlowingEntityInterface) return
- //event.entity.setDulkirEntityGlow(true, Color(0, 0, 255, 255),false)
+ if (event.entity !is GlowingEntityInterface) return
+ event.entity.setDulkirEntityGlow(true, Color(0, 0, 255, 255))
}
} \ No newline at end of file