public GuiSearedFurnaceSideInventory(GuiMultiModule parent, Container container, TileSearedFurnace furnace, int slotCount, int columns) { super(parent, container, slotCount, columns, false, true); this.furnace = furnace; GuiElement.defaultTexH = 256; GuiElement.defaultTexW = 256; slot = new GuiElementScalable(0, 166, 22, 18); slotEmpty = new GuiElementScalable(22, 166, 22, 18); yOffset = 0; }
public GuiSmelterySideInventory(GuiMultiModule parent, Container container, TileSmeltery smeltery, int slotCount, int columns) { super(parent, container, slotCount, columns, false, true); this.smeltery = smeltery; GuiElement.defaultTexH = 256; GuiElement.defaultTexW = 256; slot = new GuiElementScalable(0, 166, 22, 18); slotEmpty = new GuiElementScalable(22, 166, 22, 18); yOffset = 0; }
protected GuiElement progressBar = new GuiElementScalable(176, 150, 3, 16, 256, 256); protected GuiElement unprogressBar = new GuiElementScalable(179, 150, 3, 16); protected GuiElement uberHeatBar = new GuiElementScalable(182, 150, 3, 16); protected GuiElement noMeltBar = new GuiElementScalable(185, 150, 3, 16); protected GuiElement completeBar = new GuiElementScalable(188, 150, 3, 16);
protected GuiElement progressBar = new GuiElementScalable(176, 150, 3, 16, 256, 256); protected GuiElement unprogressBar = new GuiElementScalable(179, 150, 3, 16); protected GuiElement uberHeatBar = new GuiElementScalable(182, 150, 3, 16); protected GuiElement noMeltBar = new GuiElementScalable(185, 150, 3, 16);
protected GuiElement flame = new GuiElementScalable(176, 76, 28, 28, 256, 256);
private static GuiElement botRight = new GuiElement(resW+4, resH+4, 4, 4); private static GuiElementScalable top = new GuiElementScalable(4, 0, resW, 4); private static GuiElementScalable bot = new GuiElementScalable(4, 4 + resH, resW, 4); private static GuiElementScalable left = new GuiElementScalable(0, 4, 4, resH); private static GuiElementScalable right = new GuiElementScalable(4 + resW, 4, 4, resH); private static GuiElementScalable background = new GuiElementScalable(4,4, resW, resH); private static GuiElementScalable sliderBar = new GuiElementScalable(0, 88, 3, 8); private static GuiElement sliderTop = new GuiElement(3, 88, 3, 4); private static GuiElement sliderBot = new GuiElement(3, 92, 3, 4);
@Override public GuiElementScalable shift(int xd, int yd) { GuiElementScalable element = new GuiElementScalable(this.x + xd, this.y + yd, this.w, this.h); element.setTextureSize(this.texW, texH); return element; } }
private static final GuiElementScalable BeamCenter = new GuiElementScalable(2, 180, 129, 7); protected GuiElementScalable beamC = new GuiElementScalable(0, 0, 0, 0);