utilsΒΆ

utils just contains a few functions for helping you.

get_minecraft_directory()

Returns the path to the standard minecraft directory.

get_latest_version()

Returns the latest versions of snapshot and release.

get_version_list()

Returns a list of all versions with the type.

get_installed_versions(path)

Returns a list with all installed versions in the given path.

get_available_versions(path)

Returns a list with all installable and only local installed (e.g. Forge) versions.

get_java_executable()

Return the path to the java executable. This may not work on all systems correct.

get_library_version()

Return the version of the library.