MCPcopy Create free account
hub / github.com/Garten/sourcecraft / verifyMinecraftDirectory

Method verifyMinecraftDirectory

src/periphery/Config.java:234–240  ·  view source on GitHub ↗
(File path)

Source from the content-addressed store, hash-verified

232 }
233
234 public static boolean verifyMinecraftDirectory(File path) {
235 File saves = new File(path + File.separator + Minecraft.SAVES_FOLDER);
236 if (saves.exists() && saves.isDirectory()) {
237 return true;
238 }
239 return false;
240 }
241
242 public File getWorldPath(World world) {
243 return new File(this.getMinceraftSavePath() + File.separator + world.toString());

Callers 2

updatedMinecraftPathMethod · 0.95
getMinecraftPathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected