aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kekztech/GuiHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kekztech/GuiHandler.java')
-rw-r--r--src/main/java/kekztech/GuiHandler.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/main/java/kekztech/GuiHandler.java b/src/main/java/kekztech/GuiHandler.java
deleted file mode 100644
index 9708b89d24..0000000000
--- a/src/main/java/kekztech/GuiHandler.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package kekztech;
-
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-
-import common.container.Container_ItemProxyEndpoint;
-import common.container.Container_ItemProxySource;
-
-import client.gui.Gui_ItemProxyEndpoint;
-import client.gui.Gui_ItemProxySource;
-import cpw.mods.fml.common.network.IGuiHandler;
-
-public class GuiHandler implements IGuiHandler {
-
- public static final int ITEM_PROXY_SOURCE = 0;
- public static final int ITEM_PROXY_ENDPOINT = 1;
-
- @Override
- public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
- final TileEntity te = world.getTileEntity(x, y, z);
- if (te != null) {
- switch (ID) {
- case ITEM_PROXY_SOURCE:
- return new Container_ItemProxySource(te, player);
- case ITEM_PROXY_ENDPOINT:
- return new Container_ItemProxyEndpoint(te, player);
- }
- }
- return null;
- }
-
- @Override
- public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
- final TileEntity te = world.getTileEntity(x, y, z);
- if (te != null) {
- switch (ID) {
- case ITEM_PROXY_SOURCE:
- return new Gui_ItemProxySource(te, player);
- case ITEM_PROXY_ENDPOINT:
- return new Gui_ItemProxyEndpoint(te, player);
- }
- }
- return null;
- }
-}