Search in sources :

Example 11 with IHeatExchanger

use of pneumaticCraft.api.tileentity.IHeatExchanger in project PneumaticCraft by MineMaarten.

the class GuiElectricCompressor method initGui.

@Override
public void initGui() {
    super.initGui();
    inputStat = addAnimatedStat("Input", IC2Items.getItem("glassFiberCableItem"), 0xFF555555, false);
    addWidget(new WidgetTemperature(0, guiLeft + 87, guiTop + 20, 273, 675, ((IHeatExchanger) te).getHeatExchangerLogic(ForgeDirection.UNKNOWN), 325, 625));
}
Also used : IHeatExchanger(pneumaticCraft.api.tileentity.IHeatExchanger) WidgetTemperature(pneumaticCraft.client.gui.widget.WidgetTemperature)

Aggregations

IHeatExchanger (pneumaticCraft.api.tileentity.IHeatExchanger)11 WidgetTemperature (pneumaticCraft.client.gui.widget.WidgetTemperature)6 ItemStack (net.minecraft.item.ItemStack)3 IHeatExchangerLogic (pneumaticCraft.api.IHeatExchangerLogic)3 ArrayList (java.util.ArrayList)2 ForgeDirection (net.minecraftforge.common.util.ForgeDirection)2 LuaException (dan200.computercraft.api.lua.LuaException)1 Point (java.awt.Point)1 Rectangle (java.awt.Rectangle)1 HashSet (java.util.HashSet)1 IInventory (net.minecraft.inventory.IInventory)1 NBTTagCompound (net.minecraft.nbt.NBTTagCompound)1 NBTTagList (net.minecraft.nbt.NBTTagList)1 TileEntity (net.minecraft.tileentity.TileEntity)1 ChatComponentTranslation (net.minecraft.util.ChatComponentTranslation)1 IChatComponent (net.minecraft.util.IChatComponent)1 IPressurizable (pneumaticCraft.api.item.IPressurizable)1 IManoMeasurable (pneumaticCraft.api.tileentity.IManoMeasurable)1 IPneumaticMachine (pneumaticCraft.api.tileentity.IPneumaticMachine)1 SyncedField (pneumaticCraft.common.inventory.SyncedField)1