diff options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/features')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt b/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt index e037dd9..6a0c048 100644 --- a/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt +++ b/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt @@ -3,13 +3,16 @@ package com.dulkirfabric.features import com.dulkirfabric.events.WorldRenderLastEvent import com.dulkirfabric.util.WorldRenderUtils import meteordevelopment.orbit.EventHandler +import net.minecraft.util.math.Box 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) + WorldRenderUtils.drawBox( + event.context, Box(0.0, 0.0, 0.0, 1.0, 1.0, 1.0), + Color(255, 255, 255, 255), 3f, true + ) } }
\ No newline at end of file |