Package forestry.factory.gadgets

Examples of forestry.factory.gadgets.MachineFermenter$RecipeManager


  }

  @Override
  protected void drawGuiContainerBackgroundLayer(float var1, int mouseX, int mouseY) {
    super.drawGuiContainerBackgroundLayer(var1, mouseX, mouseY);
    MachineFermenter machine = tile;

    // Fuel remaining
    int fuelRemain = machine.getBurnTimeRemainingScaled(16);
    if (fuelRemain > 0)
      drawTexturedModalRect(guiLeft + 98, guiTop + 46 + 17 - fuelRemain, 176, 78 + 17 - fuelRemain, 4, fuelRemain);

    // Raw bio mush remaining
    int bioRemain = machine.getFermentationProgressScaled(16);
    if (bioRemain > 0)
      drawTexturedModalRect(guiLeft + 74, guiTop + 32 + 17 - bioRemain, 176, 60 + 17 - bioRemain, 4, bioRemain);
  }
View Full Code Here

TOP

Related Classes of forestry.factory.gadgets.MachineFermenter$RecipeManager

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.