Package mekanism.client.gui

Examples of mekanism.client.gui.GuiPowerBar


  {
    guiElements.add(new GuiSlot(SlotType.INPUT, this, MekanismUtils.getResource(ResourceType.GUI, stripTexture()), 55, 16));
    guiElements.add(new GuiSlot(SlotType.POWER, this, MekanismUtils.getResource(ResourceType.GUI, stripTexture()), 55, 52).with(SlotOverlay.POWER));
    guiElements.add(new GuiSlot(SlotType.OUTPUT_LARGE, this, MekanismUtils.getResource(ResourceType.GUI, stripTexture()), 111, 30));

    guiElements.add(new GuiPowerBar(this, new IPowerInfoHandler() {
      @Override
      public double getLevel()
      {
        return ticksPassed <= 20 ? ticksPassed / 20.0F : 1.0F;
      }
View Full Code Here

TOP

Related Classes of mekanism.client.gui.GuiPowerBar

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.