pub fn get_libraries(
options: &LaunchOptions,
version_json: &MinecraftVersionJson,
) -> Vec<AssetItem>Expand description
Build the full list of library/native items to include in the download bundle.
For each library in version_json.libraries:
- Native (has a
nativesmap): selects the platform-specific classifier and emits aNativeAsset. - Regular: applies Mojang rule evaluation via
skip_library; emits anAsset. Falls back to deriving the URL fromlib.url+ Maven coordinate whendownloads.artifactis absent.
Appends the client JAR and the serialised version JSON (as a CFile) at
the end.