3 import cpw.mods.fml.common.Side;
4 import cpw.mods.fml.common.asm.SideOnly;
5 import net.minecraft.src.Container;
6 import net.minecraft.src.EntityPlayer;
7 import net.minecraft.src.GuiContainer;
8 import net.minecraft.src.InventoryPlayer;
10 @SideOnly(Side.CLIENT)
11 public class GuiMaterialCraftingTable extends GuiContainer {
16 private TileEntityMaterialCraftingTable tileEntity;
20 * the InventoryPlayer.
22 private InventoryPlayer inventoryPlayer;
28 private ContainerMaterialCraftingTable container;
32 public GuiMaterialCraftingTable(EntityPlayer par1EntityPlayer, TileEntityMaterialCraftingTable par2){
33 super(new ContainerMaterialCraftingTable(par1EntityPlayer, par2));
34 this.inventoryPlayer = par1EntityPlayer.inventory;
35 this.tileEntity = par2;
36 this.container = (ContainerMaterialCraftingTable) this.inventorySlots;
42 protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3){
43 this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraft.instance.guiMaterialCraftingTexture));
44 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);