Search in sources :

Example 6 with WidgetTemperature

use of me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature in project pnc-repressurized by TeamPneumatic.

the class GuiElectricCompressor method initGui.

@Override
public void initGui() {
    super.initGui();
    inputStat = addAnimatedStat("Input", IC2.glassFibreCable, 0xFF555555, false);
    addWidget(new WidgetTemperature(0, guiLeft + 87, guiTop + 20, 273, 675, te.getHeatExchangerLogic(null), 325, 625));
}
Also used : WidgetTemperature(me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature)

Example 7 with WidgetTemperature

use of me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature in project pnc-repressurized by TeamPneumatic.

the class GuiPneumaticGenerator method initGui.

@Override
public void initGui() {
    super.initGui();
    outputStat = addAnimatedStat("Output", IC2.glassFibreCable, 0xFF555555, false);
    addWidget(new WidgetTemperature(0, guiLeft + 87, guiTop + 20, 273, 675, ((IHeatExchanger) te).getHeatExchangerLogic(null), 325, 625));
}
Also used : IHeatExchanger(me.desht.pneumaticcraft.api.tileentity.IHeatExchanger) WidgetTemperature(me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature)

Example 8 with WidgetTemperature

use of me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature in project pnc-repressurized by TeamPneumatic.

the class GuiAdvancedAirCompressor method initGui.

@Override
public void initGui() {
    super.initGui();
    addWidget(new WidgetTemperature(0, guiLeft + 87, guiTop + 20, 273, 675, ((IHeatExchanger) te).getHeatExchangerLogic(null), 325, 625));
}
Also used : IHeatExchanger(me.desht.pneumaticcraft.api.tileentity.IHeatExchanger) WidgetTemperature(me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature)

Example 9 with WidgetTemperature

use of me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature in project pnc-repressurized by TeamPneumatic.

the class GuiFluxCompressor method initGui.

@Override
public void initGui() {
    super.initGui();
    inputStat = addAnimatedStat("Input", Textures.GUI_BUILDCRAFT_ENERGY, 0xFF555555, false);
    IEnergyStorage storage = te.getCapability(CapabilityEnergy.ENERGY, null);
    addWidget(new WidgetEnergy(guiLeft + 20, guiTop + 20, storage));
    addWidget(new WidgetTemperature(0, guiLeft + 87, guiTop + 20, 273, 675, te.getHeatExchangerLogic(null), 325, 625));
}
Also used : WidgetEnergy(me.desht.pneumaticcraft.client.gui.widget.WidgetEnergy) WidgetTemperature(me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature) IEnergyStorage(net.minecraftforge.energy.IEnergyStorage)

Aggregations

WidgetTemperature (me.desht.pneumaticcraft.client.gui.widget.WidgetTemperature)9 IHeatExchanger (me.desht.pneumaticcraft.api.tileentity.IHeatExchanger)3 WidgetTank (me.desht.pneumaticcraft.client.gui.widget.WidgetTank)3 WidgetEnergy (me.desht.pneumaticcraft.client.gui.widget.WidgetEnergy)2 IEnergyStorage (net.minecraftforge.energy.IEnergyStorage)2 ArrayList (java.util.ArrayList)1 GuiAnimatedStat (me.desht.pneumaticcraft.client.gui.widget.GuiAnimatedStat)1 GuiCheckBox (me.desht.pneumaticcraft.client.gui.widget.GuiCheckBox)1 TileEntityRefinery (me.desht.pneumaticcraft.common.tileentity.TileEntityRefinery)1 ItemStack (net.minecraft.item.ItemStack)1