From cb8a139f01d35e6bc09c2cc7a7be8b5696da5c87 Mon Sep 17 00:00:00 2001 From: Soaryn Date: Sat, 3 Aug 2013 21:43:15 -0400 Subject: [PATCH] Adds FluidStack color to tank Render --- common/buildcraft/factory/render/RenderTank.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/buildcraft/factory/render/RenderTank.java b/common/buildcraft/factory/render/RenderTank.java index 38bc65bb..73729872 100644 --- a/common/buildcraft/factory/render/RenderTank.java +++ b/common/buildcraft/factory/render/RenderTank.java @@ -39,7 +39,8 @@ public class RenderTank extends TileEntitySpecialRenderer { GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); func_110628_a(FluidRenderer.getFluidSheet(liquid)); - + FluidRenderer.colorFluid(liquid); + GL11.glTranslatef((float) x + 0.125F, (float) y, (float) z + 0.125F); GL11.glScalef(0.75F, 0.999F, 0.75F);