/*     */ public static void uninstallGame(boolean includeSaves) /*     */ {
   /*  22 */ deleteFileDir(MinecraftUtil.getBinFolder());
   /*  23 */ deleteFileDir(MinecraftUtil.getLoginFile());
   /*  24 */ deleteFileDir(MinecraftUtil.getResourcesFolder());
   /*  25 */ deleteFileDir(MinecraftUtil.getOptionsFile());
   /*  26 */ if (includeSaves) /*  27 */ deleteFileDir(MinecraftUtil.getSavesFolder());
   /*     */ }
  public static List<File> getWorlds() {
    List<File> files = new ArrayList<File>();

    for (File f : MinecraftUtil.getSavesFolder().listFiles()) {
      if (f.isDirectory()) files.add(f);
    }
    return files;
  }
 public static void uninstallGame(boolean includeSaves) {
   deleteFileDir(MinecraftUtil.getBinFolder());
   deleteFileDir(MinecraftUtil.getLoginFile());
   deleteFileDir(MinecraftUtil.getResourcesFolder());
   deleteFileDir(MinecraftUtil.getOptionsFile());
   if (includeSaves) {
     deleteFileDir(MinecraftUtil.getSavesFolder());
   }
 }
 /*     */ public static File getWorldNFolder(int n) {
   /*  65 */ File source = new File(MinecraftUtil.getSavesFolder(), "World" + n);
   /*  66 */ return source;
   /*     */ }
 public static File getWorldNFolder(int n) {
   File source = new File(MinecraftUtil.getSavesFolder(), "World" + n);
   return source;
 }