aboutsummaryrefslogtreecommitdiff
path: root/src/Java/binnie/core/proxy/BinnieModProxy.java
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-02-19 17:38:35 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-02-19 17:38:35 +1000
commit7011e367ac5ccc34473283d6245bc2cec93b835e (patch)
treecc5675471f1101631bec2cde9713cb9c0004cc8f /src/Java/binnie/core/proxy/BinnieModProxy.java
parentc68c67d74f39c3eb075ac29e88936a1976ef089b (diff)
downloadGT5-Unofficial-7011e367ac5ccc34473283d6245bc2cec93b835e.tar.gz
GT5-Unofficial-7011e367ac5ccc34473283d6245bc2cec93b835e.tar.bz2
GT5-Unofficial-7011e367ac5ccc34473283d6245bc2cec93b835e.zip
Removed Hard dependency on gregtech as another Project and added dev versions of all requires libs.
Also started work on GT-EU EnderIO conduits, adding @Optional annotations where possible and a few other nice things.
Diffstat (limited to 'src/Java/binnie/core/proxy/BinnieModProxy.java')
-rw-r--r--src/Java/binnie/core/proxy/BinnieModProxy.java67
1 files changed, 0 insertions, 67 deletions
diff --git a/src/Java/binnie/core/proxy/BinnieModProxy.java b/src/Java/binnie/core/proxy/BinnieModProxy.java
deleted file mode 100644
index a6697b384f..0000000000
--- a/src/Java/binnie/core/proxy/BinnieModProxy.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package binnie.core.proxy;
-
-import binnie.Binnie;
-import binnie.core.AbstractMod;
-import binnie.core.BinnieCore;
-import binnie.core.gui.IBinnieGUID;
-import binnie.core.language.ManagerLanguage;
-import binnie.core.network.packet.MessageBase;
-import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.entity.player.EntityPlayerMP;
-import net.minecraft.util.IIcon;
-
-public class BinnieModProxy
- implements IBinnieModProxy
-{
- private AbstractMod mod;
-
- public BinnieModProxy(AbstractMod mod)
- {
- this.mod = mod;
- }
-
- public void openGui(IBinnieGUID ID, EntityPlayer player, int x, int y, int z)
- {
- BinnieCore.proxy.openGui(this.mod, ID.ordinal(), player, x, y, z);
- }
-
- public void sendToAll(MessageBase packet)
- {
- this.mod.getNetworkWrapper().sendToAll(packet.GetMessage());
- }
-
- public void sendToPlayer(MessageBase packet, EntityPlayer entityplayer)
- {
- if ((entityplayer instanceof EntityPlayerMP)) {
- this.mod.getNetworkWrapper().sendTo(packet.GetMessage(), (EntityPlayerMP)entityplayer);
- }
- }
-
- public void sendToServer(MessageBase packet)
- {
- this.mod.getNetworkWrapper().sendToServer(packet.GetMessage());
- }
-
- public IIcon getIcon(IIconRegister register, String string)
- {
- return BinnieCore.proxy.getIcon(register, this.mod.getModID(), string);
- }
-
- public void preInit() {}
-
- public void init() {}
-
- public void postInit() {}
-
- public String localise(String string)
- {
- return Binnie.Language.localise(this.mod, string);
- }
-
- public String localiseOrBlank(String string)
- {
- return Binnie.Language.localiseOrBlank(this.mod, string);
- }
-}