Refactor Minecraft.getMinecraftDirectory()