Package forestry.factory.gadgets

Examples of forestry.factory.gadgets.MachineMoistener


  }

  @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);
    }
  }
View Full Code Here

TOP

Related Classes of forestry.factory.gadgets.MachineMoistener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.