OSDN Git Service

tc
[chemicraft/chemicraft.git] / common / pcc / chemicraft / core / gui / GuiToolAndWeaponCraftingTable.java
1 package pcc.chemicraft.core.gui;
2
3 import net.minecraft.client.gui.inventory.GuiContainer;
4 import net.minecraft.entity.player.EntityPlayer;
5 import pcc.chemicraft.core.ChemiCraftCore;
6 import pcc.chemicraft.core.container.ContainerToolAndWeaponCraftingTable;
7 import pcc.chemicraft.core.tileentity.TileEntityToolAndWeaponCraftingTable;
8
9 public class GuiToolAndWeaponCraftingTable extends GuiContainer {
10
11         public GuiToolAndWeaponCraftingTable(EntityPlayer par1EntityPlayer, TileEntityToolAndWeaponCraftingTable par2) {
12                 super(new ContainerToolAndWeaponCraftingTable(par1EntityPlayer, par2));
13         }
14
15         @Override
16         protected void drawGuiContainerBackgroundLayer(float var1, int var2, int var3) {
17                 this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraftCore.instance.GUI_TOOLANDWEAPONCRAFTING_TEXTURE));
18                 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
19         }
20
21
22 }