1 package chemicraft.gui;
3 import net.minecraft.src.EntityPlayer;
4 import net.minecraft.src.GuiContainer;
5 import net.minecraft.src.InventoryPlayer;
6 import chemicraft.ChemiCraft;
7 import chemicraft.container.ContainerChemicalCombinationTable;
8 import chemicraft.tileentity.TileEntityChemicalCombinationTable;
9 import cpw.mods.fml.common.Side;
10 import cpw.mods.fml.common.asm.SideOnly;
12 @SideOnly(Side.CLIENT)
13 public class GuiChemicalCombinationTable extends GuiContainer {
18 private TileEntityChemicalCombinationTable tileEntity;
22 * the InventoryPlayer.
24 private InventoryPlayer inventoryPlayer;
30 private ContainerChemicalCombinationTable container;
34 public GuiChemicalCombinationTable(EntityPlayer par1EntityPlayer, TileEntityChemicalCombinationTable par2){
35 super(new ContainerChemicalCombinationTable(par1EntityPlayer, par2));
36 this.inventoryPlayer = par1EntityPlayer.inventory;
37 this.tileEntity = par2;
38 this.container = (ContainerChemicalCombinationTable) this.inventorySlots;
44 protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3){
45 this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraft.instance.guiChemicalCombinationTexture));
46 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);