diff --git a/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinBloodFluid.java b/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinBloodFluid.java index 6e65224fa..75e27001d 100644 --- a/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinBloodFluid.java +++ b/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinBloodFluid.java @@ -32,7 +32,7 @@ @Mixin(FogRenderer.class) public abstract class MixinBloodFluid { - @Inject(method = "computeFogColor", at = @At(value = "RETURN")) + @Inject(method = "computeFogColor", at = @At(value = "RETURN"), cancellable = true) private static void modifyFogColors(Camera camera, float f, ClientLevel level, int i, float g, CallbackInfoReturnable cir) { BlockPos blockPos = camera.getBlockPosition(); diff --git a/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinLiquidNullFluid.java b/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinLiquidNullFluid.java index e52ae7b86..ce1a026c8 100644 --- a/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinLiquidNullFluid.java +++ b/fabric/src/main/java/biomesoplenty/fabric/mixin/MixinLiquidNullFluid.java @@ -32,7 +32,7 @@ @Mixin(FogRenderer.class) public abstract class MixinLiquidNullFluid { - @Inject(method = "computeFogColor", at = @At(value = "RETURN")) + @Inject(method = "computeFogColor", at = @At(value = "RETURN"), cancellable = true) private static void modifyFogColors(Camera camera, float f, ClientLevel level, int i, float g, CallbackInfoReturnable cir) { BlockPos blockPos = camera.getBlockPosition(); @@ -46,7 +46,7 @@ private static void modifyFogColors(Camera camera, float f, ClientLevel level, i if(BOPFluids.LIQUID_NULL.isSame(fluid)) { - cir.setReturnValue(new Vector4f(0.0F, 0.0F, 0.0F, 0.0F)); + cir.setReturnValue(new Vector4f(0.6274509803921569F, 0.12549019607843137F, 0.9411764705882353F, 0.5F)); } }