aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt
blob: ab52f815aa77d491c5c86ad9a6335fe6397b13f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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, Box(-183.0, 78.0, -465.0, -182.0, 79.0, -464.0),
            Color(255, 100, 150, 255), 10f, false
        )
    }
}