mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
Begin SimpleImpl upgrade.
This commit is contained in:
1 parent
d000c53811
commit
d16b3ddd6b
47 files changed
+242
-550
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package crazypants.enderio.network;
|
||||
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
|
||||
public class PacketHandler {
|
||||
|
||||
public static final SimpleNetworkWrapper INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel("smt");
|
||||
|
||||
private static int ID = 0;
|
||||
|
||||
public static int nextID()
|
||||
{
|
||||
return ID++;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user