}
@Override
protected void drawGuiContainerBackgroundLayer(float var1, int mouseX, int mouseY) {
super.drawGuiContainerBackgroundLayer(var1, mouseX, mouseY);
MachineMoistener machine = tile;
// Mycelium production progress
if (machine.isProducing()) {
int i1 = machine.getProductionProgressScaled(16);
drawTexturedModalRect(guiLeft + 124, guiTop + 36, 176, 74, 16 - i1, 16);
}
// Resource consumption progress
if (machine.isWorking()) {
int i1 = machine.getConsumptionProgressScaled(54);
drawTexturedModalRect(guiLeft + 93, guiTop + 18 + i1, 176, 92 + i1, 29, 54 - i1);
}
}