OSDN Git Service

dfad5cdf38e45a5a5f4ab799b9f8cea945330c15
[chemicraft/chemicraft.git] / common / pcc / chemicraft / gui / GuiChemicalCraftingTable.java
1 package pcc.chemicraft.gui;
2
3 import net.minecraft.client.gui.inventory.GuiContainer;
4 import net.minecraft.entity.player.EntityPlayer;
5 import pcc.chemicraft.ChemiCraft;
6 import pcc.chemicraft.container.ContainerChemicalCraftingTable;
7 import pcc.chemicraft.tileentity.TileEntityChemicalCraftingTable;
8 import cpw.mods.fml.relauncher.Side;
9 import cpw.mods.fml.relauncher.SideOnly;
10
11 @SideOnly(Side.CLIENT)
12 public class GuiChemicalCraftingTable extends GuiContainer {
13
14         public GuiChemicalCraftingTable(EntityPlayer par1EntityPlayer, TileEntityChemicalCraftingTable par2){
15                 super(new ContainerChemicalCraftingTable(par1EntityPlayer, par2));
16         }
17
18
19
20         @Override
21         protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3){
22                 this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraft.instance.GUICHEMICALCRAFTINGTEXTURE));
23                 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
24         }
25
26 }