public void createResPackDir(File file){
		if(getExtension(file) == null){
			
			if(!file.exists())createDir(file);//Create resourcepack folder
			createDir(new File(file.getPath() + "/assets"));//create assets folder
			if(!new File(file.getPath() + "/assets/minecraft").exists())createDir(new File(file.getPath() + "/assets/minecraft"));
			if(!new File(file.getPath() + "/assets/minecraft/models").exists())createDir(new File(file.getPath() + "/assets/minecraft/models"));//create models folder
			if(!new File(file.getPath() + "/assets/minecraft/models/block").exists())createDir(new File(file.getPath() + "/assets/minecraft/models/block"));
			if(!new File(file.getPath() + "/assets/minecraft/models/item").exists())createDir(new File(file.getPath() + "/assets/minecraft/models/item"));
			if(!new File(file.getPath() + "/assets/minecraft/textures").exists())createDir(new File(file.getPath() + "/assets/minecraft/textures"));//create textures folder
			if(!new File(file.getPath() + "/assets/minecraft/textures/blocks").exists())createDir(new File(file.getPath() + "/assets/minecraft/textures/blocks"));
			if(!new File(file.getPath() + "/assets/minecraft/textures/items").exists())createDir(new File(file.getPath() + "/assets/minecraft/textures/items"));
			
			
		}else{
			System.out.println("Error creating resource pack! ");
		}
	}