Adds color to Refinery Fluids
Note, this needs a FluidStack to be complete. This only covers basic Fluid Colors
This commit is contained in:
parent
95fa107860
commit
333e38d5b2
1 changed files with 7 additions and 0 deletions
|
@ -182,6 +182,13 @@ public abstract class GuiAdvancedInterface extends GuiBuildCraft {
|
|||
super(x, y);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawSprite(int cornerX, int cornerY) {
|
||||
if(fluid != null)
|
||||
FluidRenderer.colorFluid(new FluidStack(fluid,100)); // Lacks FluidStack to properly function Please revise.
|
||||
super.drawSprite(cornerX, cornerY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getIcon() {
|
||||
return FluidRenderer.getFluidTexture(fluid, false);
|
||||
|
|
Loading…
Reference in a new issue