mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-26 06:43:05 +00:00
Comment out GUI stuff that caused compile errors from TCon update
This commit is contained in:
1 parent
75097f97d9
commit
99eab7b3ba
3 files changed
+8
-8
No files matched your search
@@ -3,7 +3,7 @@ package iguanaman.iguanatweakstconstruct.gui;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.world.World;
|
||||
import tconstruct.client.gui.GuiButtonTool;
|
||||
//import tconstruct.client.gui.GuiButtonTool;
|
||||
import tconstruct.library.client.TConstructClientRegistry;
|
||||
import tconstruct.library.client.ToolGuiElement;
|
||||
import tconstruct.tools.logic.ToolForgeLogic;
|
||||
@@ -19,7 +19,7 @@ public class IguanaToolForgeGui extends IguanaToolStationGui
|
||||
{
|
||||
super(inventoryplayer, stationlogic, world, x, y, z);
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
protected void mouseClicked (int mouseX, int mouseY, int mouseButton)
|
||||
{
|
||||
@@ -132,4 +132,5 @@ public class IguanaToolForgeGui extends IguanaToolStationGui
|
||||
}
|
||||
toolSlots.resetSlots(slotX, slotY);
|
||||
}
|
||||
*/
|
||||
}
|
||||
@@ -21,7 +21,7 @@ import net.minecraft.world.World;
|
||||
import org.lwjgl.input.Keyboard;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import tconstruct.client.gui.GuiButtonTool;
|
||||
//import tconstruct.client.gui.GuiButtonTool;
|
||||
import tconstruct.client.gui.NewContainerGui;
|
||||
import tconstruct.library.client.TConstructClientRegistry;
|
||||
import tconstruct.library.client.ToolGuiElement;
|
||||
@@ -92,7 +92,7 @@ public class IguanaToolStationGui extends NewContainerGui
|
||||
super.initGui();
|
||||
int cornerX = (width - xSize) / 2;
|
||||
int cornerY = (height - ySize) / 2;
|
||||
|
||||
/*
|
||||
buttonList.clear();
|
||||
ToolGuiElement repair = TConstructClientRegistry.toolButtons.get(0);
|
||||
GuiButtonTool repairButton = new GuiButtonTool(0, cornerX - 110, cornerY, repair.buttonIconX, repair.buttonIconY, repair.domain, repair.texture, repair); // Repair
|
||||
@@ -105,7 +105,7 @@ public class IguanaToolStationGui extends NewContainerGui
|
||||
GuiButtonTool button = new GuiButtonTool(iter, cornerX - 110 + 22 * (iter % 5), cornerY + 22 * (iter / 5), element.buttonIconX, element.buttonIconY, repair.domain, element.texture,
|
||||
element);
|
||||
buttonList.add(button);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -9,8 +9,6 @@ import iguanaman.iguanatweakstconstruct.util.IguanaClientEventHandler;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import tconstruct.client.gui.PatternChestGui;
|
||||
import tconstruct.client.gui.StencilTableGui;
|
||||
import tconstruct.tools.ToolProxyCommon;
|
||||
import tconstruct.tools.logic.PartBuilderLogic;
|
||||
import tconstruct.tools.logic.PatternChestLogic;
|
||||
@@ -33,6 +31,7 @@ public class ClientProxy extends CommonProxy {
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
/*
|
||||
if (ID == ToolProxyCommon.toolStationID)
|
||||
return new IguanaToolStationGui(player.inventory, (ToolStationLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
if (ID == ToolProxyCommon.partBuilderID)
|
||||
@@ -43,7 +42,7 @@ public class ClientProxy extends CommonProxy {
|
||||
return new IguanaToolForgeGui(player.inventory, (ToolForgeLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
if (ID == ToolProxyCommon.stencilTableID)
|
||||
return new StencilTableGui(player.inventory, (StencilTableLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
|
||||
*/
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user