use of codechicken.lib.render.pipeline.IVertexOperation in project GregTech by GregTechCE.
the class SteamBoiler method renderMetaTileEntity.
@Override
public void renderMetaTileEntity(CCRenderState renderState, IVertexOperation[] pipeline) {
IVertexOperation[] colouredPipeline = ArrayUtils.add(pipeline, new ColourMultiplier(paintingColor));
if (isHighPressure) {
Textures.STEAM_CASING_STEEL.render(renderState, colouredPipeline);
} else
Textures.STEAM_CASING_BRONZE.render(renderState, colouredPipeline);
renderer.render(renderState, pipeline, getFrontFacing(), fuelBurnTimeLeft > 0);
}
Aggregations