OSDN Git Service

c8bf8abfe02ca8d849cfe1a97fe6cb3031ac05dc
[chemicraft/chemicraft.git] / common / chemicraft / gui / GuiDecompositionTable.java
1 package chemicraft.gui;
2
3 import net.minecraft.src.EntityPlayer;
4 import net.minecraft.src.GuiContainer;
5 import chemicraft.ChemiCraft;
6 import chemicraft.container.ContainerDecompositionTable;
7 import chemicraft.tileentity.TileEntityDecompositionTable;
8
9 public class GuiDecompositionTable extends GuiContainer{
10
11         public GuiDecompositionTable(EntityPlayer par1EntityPlayer, TileEntityDecompositionTable par2) {
12                 super(new ContainerDecompositionTable(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.guiDecompositionTexture));
18                 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
19         }
20
21
22 }