@Override public void initGui() { super.initGui(); ElementSimple infoInput = (ElementSimple) new ElementSimple(this, 24, 16).setSize(20, 20).setTexture(TEX_INFO_INPUT, 20, 20); ElementSimple infoOutput = (ElementSimple) new ElementSimple(this, 132, 16).setSize(20, 20).setTexture(TEX_INFO_OUTPUT, 20, 20); addElement(infoInput); addElement(infoOutput); addElement(new ElementFluidTank(this, 62, 19, myTile.getTank(0)).setGauge(0).setAlwaysShow(true).setSmall()); addElement(new ElementFluidTank(this, 80, 19, myTile.getTank(1)).setGauge(0).setAlwaysShow(true).setSmall()); addElement(new ElementFluidTank(this, 98, 19, myTile.getTank(2)).setGauge(0).setAlwaysShow(true).setSmall()); decInput = new ElementButton(this, 19, 56, "DecInput", 176, 0, 176, 14, 176, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); incInput = new ElementButton(this, 35, 56, "IncInput", 190, 0, 190, 14, 190, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); decOutput = new ElementButton(this, 127, 56, "DecOutput", 176, 0, 176, 14, 176, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); incOutput = new ElementButton(this, 143, 56, "IncOutput", 190, 0, 190, 14, 190, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); addElement(decInput); addElement(incInput); addElement(decOutput); addElement(incOutput); for (int i = 0; i < lock.length; i++) { lock[i] = new ElementButton(this, 62 + i * 18, 54, "Lock" + i, 176, 48, 176, 64, 176, 80, 16, 16, TEX_PATH).setToolTipLocalized(true); addElement(lock[i]); } }
@Override public void initGui() { super.initGui(); slotInputHot = addElement(new ElementSlotOverlay(this, 32, 19).setSlotInfo(SlotColor.BLUE, SlotType.TANK_SHORT, SlotRender.FULL)); slotInputCold = addElement(new ElementSlotOverlay(this, 56, 19).setSlotInfo(SlotColor.BLUE, SlotType.TANK_SHORT, SlotRender.FULL)); slotOutput = addElement(new ElementSlotOverlay(this, 130, 22).setSlotInfo(SlotColor.ORANGE, SlotType.OUTPUT, SlotRender.FULL)); if (!myTile.smallStorage()) { addElement(new ElementEnergyStored(this, 8, 8, myTile.getEnergyStorage())); } hotTank = (ElementFluidTank) addElement(new ElementFluidTank(this, 32, 19, myTile.getTank(0)).setAlwaysShow(true).setSmall()); coldTank = (ElementFluidTank) addElement(new ElementFluidTank(this, 56, 19, myTile.getTank(1)).setAlwaysShow(true).setSmall()); progressHot = (ElementFluid) addElement(new ElementFluid(this, 85, 26).setFluid(FluidRegistry.LAVA).setSize(24, 8)); progressCold = (ElementFluid) addElement(new ElementFluid(this, 85, 34).setFluid(FluidRegistry.WATER).setSize(24, 8)); progressOverlay = (ElementDualScaled) addElement(new ElementDualScaled(this, 85, 26).setMode(1).setBackground(false).setSize(24, 16).setTexture(TEX_DROP_RIGHT, 64, 16)); speed = (ElementDualScaled) addElement(new ElementDualScaled(this, 44, 53).setSize(16, 16).setTexture(TEX_COMPACT, 32, 16)); prevOutput = new ElementButton(this, 72, 54, "PrevOutput", 176, 0, 176, 14, 176, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); nextOutput = new ElementButton(this, 108, 54, "NextOutput", 190, 0, 190, 14, 190, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); addElement(prevOutput); addElement(nextOutput); }
@Override public void initGui() { super.initGui(); slotInput = addElement(new ElementSlotOverlay(this, 44, 19).setSlotInfo(SlotColor.BLUE, SlotType.TANK_SHORT, SlotRender.FULL)); slotOutput = addElement(new ElementSlotOverlay(this, 130, 22).setSlotInfo(SlotColor.ORANGE, SlotType.OUTPUT, SlotRender.FULL)); if (!myTile.smallStorage()) { addElement(new ElementEnergyStored(this, 8, 8, myTile.getEnergyStorage())); } addElement(new ElementFluidTank(this, 44, 19, myTile.getTank()).setAlwaysShow(true).setSmall()); progressFluid = (ElementFluid) addElement(new ElementFluid(this, 85, 26).setFluid(myTile.getTankFluid()).setSize(24, 16)); progressOverlay = (ElementDualScaled) addElement(new ElementDualScaled(this, 85, 26).setMode(1).setBackground(false).setSize(24, 16).setTexture(TEX_DROP_RIGHT, 64, 16)); speed = (ElementDualScaled) addElement(new ElementDualScaled(this, 44, 53).setSize(16, 16).setTexture(TEX_SNOWFLAKE, 32, 16)); prevOutput = new ElementButton(this, 72, 54, "PrevOutput", 176, 0, 176, 14, 176, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); nextOutput = new ElementButton(this, 108, 54, "NextOutput", 190, 0, 190, 14, 190, 28, 14, 14, TEX_PATH).setToolTipLocalized(true); addElement(prevOutput); addElement(nextOutput); }
@Override public void initGui() { super.initGui(); slotInput[0] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 80, 34).setSlotInfo(SlotColor.BLUE, SlotType.STANDARD, SlotRender.FULL)); slotInput[1] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 80, 34).setSlotInfo(SlotColor.GREEN, SlotType.STANDARD, SlotRender.BOTTOM)); slotTankInput[0] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 32, 27).setSlotInfo(SlotColor.BLUE, SlotType.TANK_SHORT, SlotRender.FULL)); slotTankInput[1] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 32, 27).setSlotInfo(SlotColor.PURPLE, SlotType.TANK_SHORT, SlotRender.BOTTOM)); slotTankOutput = addElement(new ElementSlotOverlay(this, 152, 9).setSlotInfo(SlotColor.ORANGE, SlotType.TANK, SlotRender.FULL)); if (!myTile.smallStorage()) { addElement(new ElementEnergyStored(this, 8, 8, myTile.getEnergyStorage())); } addElement(new ElementFluidTank(this, 32, 27, myTile.getTank(0)).setGauge(0).setAlwaysShow(true).setSmall()); addElement(new ElementFluidTank(this, 152, 9, myTile.getTank(1)).setGauge(1).setAlwaysShow(true)); progressFluid = (ElementFluid) addElement(new ElementFluid(this, 112, 34).setFluid(myTile.getTankFluid(1)).setSize(24, 16)); progressOverlay = (ElementDualScaled) addElement(new ElementDualScaled(this, 112, 34).setMode(1).setBackground(false).setSize(24, 16).setTexture(TEX_DROP_RIGHT, 64, 16)); speed = (ElementDualScaled) addElement(new ElementDualScaled(this, 57, 34).setSize(16, 16).setTexture(TEX_ALCHEMY, 32, 16)); }
@Override public void initGui() { super.initGui(); slotInput = addElement(new ElementSlotOverlay(this, 44, 19).setSlotInfo(SlotColor.BLUE, SlotType.TANK_SHORT, SlotRender.FULL)); slotOutput[0] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 112, 31).setSlotInfo(SlotColor.ORANGE, SlotType.OUTPUT, SlotRender.FULL)); slotOutput[1] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 112, 31).setSlotInfo(SlotColor.YELLOW, SlotType.OUTPUT, SlotRender.BOTTOM)); slotTankOutput[0] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 152, 9).setSlotInfo(SlotColor.ORANGE, SlotType.TANK, SlotRender.FULL).setVisible(false)); slotTankOutput[1] = (ElementSlotOverlay) addElement(new ElementSlotOverlay(this, 152, 9).setSlotInfo(SlotColor.RED, SlotType.TANK, SlotRender.BOTTOM).setVisible(false)); if (!myTile.smallStorage()) { addElement(new ElementEnergyStored(this, 8, 8, myTile.getEnergyStorage())); } addElement(new ElementFluidTank(this, 44, 19, myTile.getTank(0)).setGauge(0).setAlwaysShow(true).setSmall()); addElement(new ElementFluidTank(this, 152, 9, myTile.getTank(1)).setGauge(1).setAlwaysShow(true)); progressFluid = (ElementFluid) addElement(new ElementFluid(this, 76, 34).setFluid(myTile.getTankFluid(0)).setSize(24, 16)); progressOverlay = (ElementDualScaled) addElement(new ElementDualScaled(this, 76, 34).setMode(1).setBackground(false).setSize(24, 16).setTexture(TEX_DROP_RIGHT, 64, 16)); speed = (ElementDualScaled) addElement(new ElementDualScaled(this, 44, 52).setSize(16, 16).setTexture(TEX_FLAME, 32, 16)); }