Sigil of Holding remake!

This commit is contained in:
Arcaratus 2015-05-18 18:33:23 -04:00
parent 61cb569ffb
commit 0f3c0196cd
39 changed files with 874 additions and 327 deletions

View file

@ -38,21 +38,14 @@ import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
/**
* Handles the packet wrangling for IronChest
*
* @author cpw
*/
public enum NewPacketHandler
{
INSTANCE;
private EnumMap<Side, FMLEmbeddedChannel> channels;
private NewPacketHandler()
NewPacketHandler()
{
// request a channel pair for IronChest from the network registry
// Add the IronChestCodec as a member of both channel pipelines
this.channels = NetworkRegistry.INSTANCE.newChannel("BloodMagic", new TEAltarCodec());
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
{