fabric

fabric contains functions for dealing with the fabric modloader

install_fabric(minecraft_version: str, minecraft_directory: Union[str, os.PathLike], loader_version: str = None, callback: Optional[CallbackDict] = None, java: str = None) -> None

Installs the fabric modloader. path is the path to your Minecraft directory. minecraft_version is a vanilla version that is supported by fabric. loader_version is the loader version. If not given it will use the latest. callback is the same dict as in the install module. java is a path to a java runtime to execute with.

get_all_minecraft_versions() -> List[FabricMinecraftVersion]

Returns all available Minecraft Versions for fabric

get_stable_minecraft_versions() -> List[str]

Returns a list which only contains the stable Minecraft versions that supports fabric

get_latest_minecraft_version() -> str

Returns the latest unstable Minecraft versions that supports fabric. This could be a snapshot.

get_latest_stable_minecraft_version() -> str

Returns the latest stable Minecraft version that supports fabric

is_minecraft_version_supported(version: str) -> bool

Checks if a Minecraft version supported by fabric

get_all_loader_versions() ->  List[FabricLoader]

Returns all loader versions

get_latest_loader_version() -> str

Get the latest loader version

get_latest_installer_version() -> str

Returns the latest installer version