package JAKJ . RedstoneInMotion ;

@cpw . mods . fml . common . Mod ( modid = Core . Handle , name = Core . Name , version = Core . Version )
@cpw . mods . fml . common . network . NetworkMod ( clientSideRequired = true , serverSideRequired = false , channels = { PacketHandler . Channel } , packetHandler = PacketHandler . class )
public class Core
{
	public static final String Handle = "JAKJ_RedstoneInMotion" ;

	public static final String Name = "Redstone In Motion" ;

	public static final String Version = "2.0.0.0" ;

	/* 1.5.x */ // @cpw . mods . fml . common . Mod . PreInit
	/* 1.6.x */ @cpw . mods . fml . common . Mod . EventHandler
	public void PreInit ( cpw . mods . fml . common . event . FMLPreInitializationEvent Event )
	{
		( new Configuration ( Event . getSuggestedConfigurationFile ( ) ) ) . Process ( ) ;
	}

	/* 1.5.x */ // @cpw . mods . fml . common . Mod . Init
	/* 1.6.x */ @cpw . mods . fml . common . Mod . EventHandler
	public void Init ( cpw . mods . fml . common . event . FMLInitializationEvent Event )
	{
		ModInteraction . Establish ( ) ;

		CreativeTab . Initialize ( ) ;

		Blocks . Initialize ( ) ;

		Items . Initialize ( ) ;
	}

	/* 1.5.x */ // @cpw . mods . fml . common . Mod . PostInit
	/* 1.6.x */ @cpw . mods . fml . common . Mod . EventHandler
	public void PostInit ( cpw . mods . fml . common . event . FMLPostInitializationEvent Event )
	{
		Proxy . Instance . Initialize ( ) ;

		Recipes . Register ( ) ;

		CarriagePackageBlacklist . Initialize ( ) ;
	}

	/* 1.5.x */ // @cpw . mods . fml . common . Mod . ServerStopping
	/* 1.6.x */ @cpw . mods . fml . common . Mod . EventHandler
	public void ServerStopping ( cpw . mods . fml . common . event . FMLServerStoppingEvent Event )
	{
		CarriageTranslocatorEntity . ActiveTranslocatorSets . clear ( ) ;
	}
}
