quilt
quilt contains functions for dealing with the Quilt modloader.
You may have noticed, that the Functions are the same as in the fabric module. That’s because Quilt is a Fork of Fabric. This module behaves exactly the same as the fabric module.
- get_all_minecraft_versions() List[QuiltMinecraftVersion]
Returns all available Minecraft Versions for Quilt
- Return type:
List[QuiltMinecraftVersion]
- get_stable_minecraft_versions() List[str]
Returns a list which only contains the stable Minecraft versions that supports Quilt
- Return type:
List[str]
- get_latest_minecraft_version() str
Returns the latest unstable Minecraft versions that supports Quilt. This could be a snapshot.
- Return type:
str
- get_latest_stable_minecraft_version() str
Returns the latest stable Minecraft version that supports Quilt
- Return type:
str
- is_minecraft_version_supported(version: str) bool
Checks if a Minecraft version supported by Quilt
- Parameters:
version (str) – A vanilla version
- Return type:
bool
- get_all_loader_versions() List[QuiltLoader]
Returns all loader versions
- Return type:
List[QuiltLoader]
- get_latest_loader_version() str
Get the latest loader version
- Return type:
str
- get_latest_installer_version() str
Returns the latest installer version
- Return type:
str
- install_quilt(minecraft_version: str, minecraft_directory: str | PathLike, loader_version: str | None = None, callback: CallbackDict | None = None, java: str | PathLike | None = None) None
Installs the Quilt modloader.
- Parameters:
minecraft_version (str) – A vanilla version that is supported by Quilt
minecraft_directory (str | PathLike) – The path to your Minecraft directory
loader_version (str | None) – The Quilt loader version. If not given it will use the latest
callback (CallbackDict | None) – The same dict as for
install_minecraft_version()java (str | PathLike | None) – A Path to a custom Java executable
- Raises:
UnsupportedVersion – The given Minecraft version is not supported by Quilt
- Return type:
None