From 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Fri, 27 Jan 2017 11:32:28 +0300 Subject: License, readme and stuff --- ihl/flexible_cable/IronWorkbenchGui.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ihl/flexible_cable/IronWorkbenchGui.java') diff --git a/ihl/flexible_cable/IronWorkbenchGui.java b/ihl/flexible_cable/IronWorkbenchGui.java index 131f2f7..dedb9d8 100644 --- a/ihl/flexible_cable/IronWorkbenchGui.java +++ b/ihl/flexible_cable/IronWorkbenchGui.java @@ -9,7 +9,6 @@ import net.minecraft.util.ResourceLocation; import org.lwjgl.opengl.GL11; -import ic2.core.network.NetworkManager; import ihl.interfaces.IItemHasMiniGUI; import ihl.interfaces.ItemMiniGUI; import ihl.utils.IHLRenderUtils; @@ -22,20 +21,11 @@ public class IronWorkbenchGui extends GuiContainer { private static final short outputslotoffset=66; public IronWorkbenchGui (IronWorkbenchContainer container1) { - //the container is instanciated and passed to the superclass for handling super(container1); this.container=container1; this.ySize=IronWorkbenchContainer.height; } - @Override - public void initGui() - { - super.initGui(); - int x = (width - xSize) / 2; - int y = (height - ySize) / 2; - } - @Override protected void drawGuiContainerForegroundLayer(int par1, int par2) { @@ -103,7 +93,6 @@ public class IronWorkbenchGui extends GuiContainer { this.drawTexturedModalRect(x, y, 0, 0, xSize, ySize); if (this.container.tileEntity.progress > 0) { - int progressLevel=Math.min(Math.round(this.container.tileEntity.progress*16.0F/this.container.tileEntity.maxProgress),16); int frameNum=0; short slotRecipeNum=this.container.tileEntity.output.slotRecipe[0]; for(int row = 0;row<6;row++) -- cgit v1.2.3