2015-06-23 22:29:05 +00:00
|
|
|
package gregtech.common.gui;
|
|
|
|
|
|
|
|
import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
|
|
|
|
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
|
|
|
|
import net.minecraft.entity.player.InventoryPlayer;
|
|
|
|
|
|
|
|
public class GT_GUIContainer_ChestBuffer
|
2015-10-22 02:06:25 +00:00
|
|
|
extends GT_GUIContainerMetaTile_Machine {
|
|
|
|
public GT_GUIContainer_ChestBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity) {
|
|
|
|
super(new GT_Container_ChestBuffer(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/ChestBuffer.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) {
|
|
|
|
super.drawGuiContainerBackgroundLayer(par1, par2, par3);
|
|
|
|
int x = (this.width - this.xSize) / 2;
|
|
|
|
int y = (this.height - this.ySize) / 2;
|
|
|
|
drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
|
|
|
|
}
|
2015-06-23 22:29:05 +00:00
|
|
|
}
|