diff options
author | ronald <inglettronald@gmail.com> | 2023-07-31 12:24:12 -0500 |
---|---|---|
committer | ronald <inglettronald@gmail.com> | 2023-07-31 12:24:12 -0500 |
commit | 38ab76c017ab0bd6ff1dd1f8e9b707662c785a53 (patch) | |
tree | b5d3da960312ee8886da028efc23f03d4eb9f506 /src/main | |
parent | 4ce020e7b1c03b1e2835f1baf87a84f1728246c3 (diff) | |
download | DulkirMod-Fabric-38ab76c017ab0bd6ff1dd1f8e9b707662c785a53.tar.gz DulkirMod-Fabric-38ab76c017ab0bd6ff1dd1f8e9b707662c785a53.tar.bz2 DulkirMod-Fabric-38ab76c017ab0bd6ff1dd1f8e9b707662c785a53.zip |
Fixed RenderTest error
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/RenderTest.kt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt b/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt index 1f00b53..c53e344 100644 --- a/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt +++ b/src/main/kotlin/com/dulkirfabric/features/RenderTest.kt @@ -12,19 +12,19 @@ import java.awt.Color object RenderTest { - @EventHandler - fun onRender(event: WorldRenderLastEvent) { - WorldRenderUtils.renderWaypoint( - Text.literal("Home Base").setStyle(Style.EMPTY.withColor(Color(255, 100, 150, 255).rgb)), event.context, - Vec3d(-183.5, 79.0, -465.5) - ) - - WorldRenderUtils.drawBox(event.context, 16.0, 119.0, -6.0, 2.0, 2.0, 2.0, Color(0, 200, 200, 100), false) - } - - @EventHandler - fun onLoadEnt(event: EntityLoadEvent) { - //if (event.entity !is GlowingEntityInterface) return - //event.entity.setDulkirEntityGlow(true, Color(0, 0, 255, 255)) - } +// @EventHandler +// fun onRender(event: WorldRenderLastEvent) { +// WorldRenderUtils.renderWaypoint( +// Text.literal("Home Base").setStyle(Style.EMPTY.withColor(Color(255, 100, 150, 255).rgb)), event.context, +// Vec3d(-183.5, 79.0, -465.5) +// ) +// +// WorldRenderUtils.drawBox(event.context, 16.0, 119.0, -6.0, 2.0, 2.0, 2.0, Color(0, 200, 200, 100), false) +// } +// +// @EventHandler +// fun onLoadEnt(event: EntityLoadEvent) { +// //if (event.entity !is GlowingEntityInterface) return +// //event.entity.setDulkirEntityGlow(true, Color(0, 0, 255, 255)) +// } }
\ No newline at end of file |