aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt
blob: 6a0c048d82133cd3045c8f1b499f57f9c4c70df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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(0.0, 0.0, 0.0, 1.0, 1.0, 1.0),
            Color(255, 255, 255, 255), 3f, true
        )
    }
}