From 07464087671ba52aacd71fc6c276460ed77e3612 Mon Sep 17 00:00:00 2001 From: Jacob <55346310+Kathund@users.noreply.github.com> Date: Thu, 3 Jul 2025 20:00:17 +0800 Subject: feat: transparent block renders --- src/main/kotlin/features/items/EtherwarpOverlay.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/features/items') diff --git a/src/main/kotlin/features/items/EtherwarpOverlay.kt b/src/main/kotlin/features/items/EtherwarpOverlay.kt index d560ad6..2de2159 100644 --- a/src/main/kotlin/features/items/EtherwarpOverlay.kt +++ b/src/main/kotlin/features/items/EtherwarpOverlay.kt @@ -1,5 +1,6 @@ package moe.nea.firmament.features.items +import me.shedaniel.math.Color import moe.nea.firmament.annotations.Subscribe import moe.nea.firmament.features.FirmamentFeature import moe.nea.firmament.gui.config.ManagedConfig @@ -43,7 +44,7 @@ object EtherwarpOverlay : FirmamentFeature { if (!world.getBlockState(blockPos.up()).isAir) return if (!world.getBlockState(blockPos.up(2)).isAir) return RenderInWorldContext.renderInWorld(event) { - if (TConfig.cube) block(blockPos, 0xFFFFFF00.toInt()) + if (TConfig.cube) block(blockPos, Color.ofRGBA(172, 0, 255, 60).color) if (TConfig.wireframe) wireframeCube(blockPos, 10f) } } -- cgit