OSDN Git Service

d3e9288d10e01ee3ff60ddeb98bac3114819cff5
[chemicraft/chemicraft.git] / common / chemicraft / gui / GuiToolAndWeaponCraftingTable.java
1 package chemicraft.gui;
2
3 import net.minecraft.client.gui.inventory.GuiContainer;
4 import net.minecraft.entity.player.EntityPlayer;
5 import chemicraft.ChemiCraft;
6 import chemicraft.container.ContainerToolAndWeaponCraftingTable;
7 import chemicraft.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(ChemiCraft.instance.guiToolAndWeaponCraftingTexture));
18                 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
19         }
20
21
22 }