OSDN Git Service

マージ用にコミット
[chemicraft/chemicraft.git] / common / pcc / chemicraft / gui / GuiElectrolysisTable.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.ContainerElectrolysisTable;
7 import pcc.chemicraft.tileentity.TileEntityElectrolysisTable;
8
9 public class GuiElectrolysisTable extends GuiContainer
10 {
11
12         private TileEntityElectrolysisTable tileentity;
13
14         public GuiElectrolysisTable(EntityPlayer par1EntityPlayer, TileEntityElectrolysisTable par2)
15         {
16                 super(new ContainerElectrolysisTable(par1EntityPlayer, par2));
17                 this.tileentity = par2;
18                 this.ySize = 204;
19         }
20
21         @Override
22         protected void drawGuiContainerBackgroundLayer(float var1, int var2, int var3)
23         {
24                 this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraft.instance.GUI_ELECTROLYSIS_TEXTURE));
25                 this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
26         }
27
28 }