funcversions#
- versions( ) list[LoaderVersion]#
List a loader’s versions for a Minecraft version, newest first.
Each loader publishes its versions differently. This reads each one’s own source and returns the same shape for all of them.
- Parameters:
- Returns:
The versions, empty if the loader does not support that Minecraft version. At most one is marked recommended.
- Raises:
UnsupportedError – The loader is unknown or cannot list its versions.
NetworkError – The version list could not be fetched.
- Return type: