aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/items
diff options
context:
space:
mode:
authorJacob <55346310+Kathund@users.noreply.github.com>2025-07-03 20:00:17 +0800
committerGitHub <noreply@github.com>2025-07-03 14:00:17 +0200
commit07464087671ba52aacd71fc6c276460ed77e3612 (patch)
tree21896b32dd8295705f449563c85f87f9fa661b1e /src/main/kotlin/features/items
parent5147d1b953fc60e1cecea112f56e63e61e25a7d6 (diff)
downloadFirmament-master.tar.gz
Firmament-master.tar.bz2
Firmament-master.zip
feat: transparent block rendersHEADmaster
Diffstat (limited to 'src/main/kotlin/features/items')
-rw-r--r--src/main/kotlin/features/items/EtherwarpOverlay.kt3
1 files changed, 2 insertions, 1 deletions
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)
}
}