Minor fixes to the fluids (#6150)

* Fixed vanilla rendering of fluids to take into account the alpha bits of the color, and fix usages accordingly.
* Fixed missing texture derp.
This commit is contained in:
David Quintana authored and GitHub committed 2019-09-12 17:33:19 +02:00
1 parent b0c9d7cce9
commit 58335d7bc0
5 files changed
+104 -55

No files matched your search

@@ -445,7 +445,7 @@ public class FluidAttributes
@Override
public int getColor(IEnviromentBlockReader world, BlockPos pos)
{
return BiomeColors.getWaterColor(world, pos);
return BiomeColors.getWaterColor(world, pos) | 0xFF000000;
}
public static Builder builder(ResourceLocation stillTexture, ResourceLocation flowingTexture) {