pub async fn get_assets(
options: &LaunchOptions,
version_json: &MinecraftVersionJson,
client: &Client,
) -> Result<Vec<AssetItem>, LaunchError>Expand description
Build the full list of asset items that the launcher must have on disk.
Returns two kinds of AssetItem:
CFile— the asset-index JSON itself (written verbatim to<path>/assets/indexes/<id>.json).Asset— each hashed object in the index (downloaded from Mojang CDN).
All paths are absolute (prefixed with options.path).
If version_json has no asset_index, an empty Vec is returned.