use of mekanism.client.gui.element.GuiUpArrow in project Mekanism by mekanism.
the class GuiElectricMachine method addGuiElements.
@Override
protected void addGuiElements() {
super.addGuiElements();
addButton(new GuiUpArrow(this, 68, 38));
addButton(new GuiVerticalPowerBar(this, tile.getEnergyContainer(), 164, 15));
addButton(new GuiEnergyTab(this, tile.getEnergyContainer(), tile::getActive));
addButton(new GuiProgress(tile::getScaledProgress, ProgressType.BAR, this, 86, 38).jeiCategory(tile));
}
use of mekanism.client.gui.element.GuiUpArrow in project Mekanism by mekanism.
the class GuiCombiner method addGuiElements.
@Override
protected void addGuiElements() {
super.addGuiElements();
addButton(new GuiUpArrow(this, 68, 38));
addButton(new GuiVerticalPowerBar(this, tile.getEnergyContainer(), 164, 15));
addButton(new GuiEnergyTab(this, tile.getEnergyContainer(), tile::getActive));
addButton(new GuiProgress(tile::getScaledProgress, ProgressType.BAR, this, 86, 38).jeiCategory(tile));
}
use of mekanism.client.gui.element.GuiUpArrow in project Mekanism by mekanism.
the class GuiPrecisionSawmill method addGuiElements.
@Override
protected void addGuiElements() {
super.addGuiElements();
addButton(new GuiUpArrow(this, 60, 38));
addButton(new GuiVerticalPowerBar(this, tile.getEnergyContainer(), 164, 15));
addButton(new GuiEnergyTab(this, tile.getEnergyContainer(), tile::getActive));
// Note: We just draw the wide slot on top of the normal slots so that it looks a bit better
addButton(new GuiSlot(SlotType.OUTPUT_WIDE, this, 111, 30));
addButton(new GuiProgress(tile::getScaledProgress, ProgressType.BAR, this, 78, 38).jeiCategory(tile));
}
Aggregations