New client -> server packet handler, added key to allow using the Project: Omega's signature effects

This commit is contained in:
WayofTime committed 2015-01-13 21:02:11 -05:00
1 parent ca74a33a12
commit 6cb1e06306
17 files changed
+800 -37

No files matched your search

@@ -0,0 +1,15 @@
package WayofTime.alchemicalWizardry.common;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import cpw.mods.fml.relauncher.Side;
public class ClientToServerPacketHandler
{
public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel("alchemicalwizardry");
public static void init()
{
INSTANCE.registerMessage(MessageKeyPressed.class, MessageKeyPressed.class, 0, Side.SERVER);
}
}