public static String getPath(String path) {
		if (path.matches(patternModProtocol.toString())) path = ModManager.unpackModFile(path).getAbsolutePath();
		else {
			Matcher matcher = patternModDataProtocol.matcher(path);
			if (matcher.find()) {
				File f = new File(new File(new File("mods","data"),matcher.group(1)),matcher.group(2));
				f.getParentFile().mkdirs();
				path = f.getAbsolutePath();
			}
		}
		return path;
	}