// 获取所有的地图列表 public static List<WorldItem> getWorldItems(Context context) { File file = new File(MCkuai.getInstance().getSDPath(), "games/com.mojang/minecraftWorlds"); ArrayList<WorldItem> items = new ArrayList<>(); if (!file.exists()) { Log.e(TAG, "no storage folder"); return items; } else { File[] fileList = file.listFiles(); for (File curFile : fileList) { items.add(new WorldItem(curFile)); } } return items; }