aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui
diff options
context:
space:
mode:
authorBlood-Asp <bloodasphendrik@gmail.com>2017-07-01 17:11:35 +0200
committerGitHub <noreply@github.com>2017-07-01 17:11:35 +0200
commitebd2d13d7a8b62a0db2b05c0fd2b7ffa32bb173a (patch)
tree0503fa54e2e91936a348ace8ba34f38794b3af06 /src/main/java/gregtech/api/gui
parent37869e5c6cdb028cd0db705a43d264b3737430e3 (diff)
parent47910b2bfe0d3056df382754ed231a864e2d3202 (diff)
downloadGT5-Unofficial-ebd2d13d7a8b62a0db2b05c0fd2b7ffa32bb173a.tar.gz
GT5-Unofficial-ebd2d13d7a8b62a0db2b05c0fd2b7ffa32bb173a.tar.bz2
GT5-Unofficial-ebd2d13d7a8b62a0db2b05c0fd2b7ffa32bb173a.zip
Merge pull request #1130 from Antifluxfield/AssemblyLine_upgrade
Assembly line upgrade
Diffstat (limited to 'src/main/java/gregtech/api/gui')
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java5
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java5
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_3by3.java5
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java5
4 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java
index 29cc403c71..b33efa52a0 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java
@@ -13,6 +13,11 @@ public class GT_GUIContainer_1by1 extends GT_GUIContainerMetaTile_Machine {
super(new GT_Container_1by1(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "1by1.png");
mName = aName;
}
+
+ public GT_GUIContainer_1by1(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_1by1(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "1by1.png");
+ mName = aName;
+ }
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
index 50653132ce..57c13f6b55 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
@@ -13,6 +13,11 @@ public class GT_GUIContainer_2by2 extends GT_GUIContainerMetaTile_Machine {
super(new GT_Container_2by2(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "2by2.png");
mName = aName;
}
+
+ public GT_GUIContainer_2by2(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_2by2(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "2by2.png");
+ mName = aName;
+ }
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_3by3.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_3by3.java
index de12be9e92..1f64dae245 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_3by3.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_3by3.java
@@ -14,6 +14,11 @@ public class GT_GUIContainer_3by3 extends GT_GUIContainerMetaTile_Machine {
mName = aName;
}
+ public GT_GUIContainer_3by3(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_3by3(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "3by3.png");
+ mName = aName;
+ }
+
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
fontRendererObj.drawString(mName, 8, 4, 4210752);
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
index dd536f41a7..710411cb08 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
@@ -13,6 +13,11 @@ public class GT_GUIContainer_4by4 extends GT_GUIContainerMetaTile_Machine {
super(new GT_Container_4by4(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "4by4.png");
mName = aName;
}
+
+ public GT_GUIContainer_4by4(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_4by4(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "4by4.png");
+ mName = aName;
+ }
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {