diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java index 9f8de4c95..5e33f3ceb 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/cache/ClientBlockStateCache.java @@ -91,11 +91,13 @@ public class ClientBlockStateCache { Default, Flower, - Leaves; + Leaves, + Chisel; static ColorMode getColorMode(Block b) { if (b instanceof LeavesBlock) return Leaves; if (b instanceof FlowerBlock) return Flower; + if (b.toString().equals("Block{chiselsandbits:chiseled}")) return Chisel; return Default; } } @@ -160,7 +162,14 @@ public class ClientBlockStateCache { scale = FLOWER_COLOR_SCALE; } - + //make Chiseled block not render + else if (colorMode == ColorMode.Chisel) + { + r = 0; + g = 0; + b = 0; + a = 0; + } count += scale; alpha += a * a * scale; red += r * r * scale;