Adds FluidStack color to pipes Render
This commit is contained in:
parent
cb8a139f01
commit
89980dceb2
1 changed files with 3 additions and 1 deletions
|
@ -368,6 +368,7 @@ public class RenderPipe extends TileEntitySpecialRenderer {
|
|||
default:
|
||||
}
|
||||
func_110628_a(TextureMap.field_110575_b);
|
||||
FluidRenderer.colorFluid(liquid);
|
||||
GL11.glCallList(list);
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
@ -382,6 +383,7 @@ public class RenderPipe extends TileEntitySpecialRenderer {
|
|||
int stage = (int) ((float) liquid.amount / (float) (trans.getCapacity()) * (LIQUID_STAGES - 1));
|
||||
|
||||
func_110628_a(TextureMap.field_110575_b);
|
||||
FluidRenderer.colorFluid(liquid);
|
||||
|
||||
if (above) {
|
||||
GL11.glCallList(d.centerVertical[stage]);
|
||||
|
|
Loading…
Reference in a new issue