@SubscribeEvent @SideOnly(Side.CLIENT) public void onFogColors(FogColors event) { IndustrialFluidBlock block = IndustrialFluidBlock.atEyeLevel(event.entity); if (block != null) { int color = block.getFluid().getColor(); event.red = (color >> 16 & 255) / 255.0F; event.green = (color >> 8 & 255) / 255.0F; event.blue = (color & 255) / 255.0F; } }
@SubscribeEvent public void RenderFogColorHandler(FogColors event) { }
@SubscribeEvent public void onFogColors(FogColors e) { e.red = 0.149019608f; e.green = 0.196078431f; e.blue = 0.219607843f; }