aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui
diff options
context:
space:
mode:
authorAntifluxfield <lyj_299792458@163.com>2017-06-30 06:10:31 +0800
committerGitHub <noreply@github.com>2017-06-30 06:10:31 +0800
commit08d45ae407d8dbadae53cf1669efdab2b80509a4 (patch)
tree504194834cd708fccfce85017800694f48e186f4 /src/main/java/gregtech/api/gui
parent94bf4937d8600ee15d509fa43432c22d87a0149f (diff)
downloadGT5-Unofficial-08d45ae407d8dbadae53cf1669efdab2b80509a4.tar.gz
GT5-Unofficial-08d45ae407d8dbadae53cf1669efdab2b80509a4.tar.bz2
GT5-Unofficial-08d45ae407d8dbadae53cf1669efdab2b80509a4.zip
Update GT_GUIContainer_3by3.java
Diffstat (limited to 'src/main/java/gregtech/api/gui')
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_3by3.java5
1 files changed, 5 insertions, 0 deletions
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);