Skip to content

@loontail/minecraft-kit v0.8.14 / MinecraftDownloads

Type alias: MinecraftDownloads

ts
type MinecraftDownloads: {
  client: ArtifactDownload;
  client_mappings: ArtifactDownload;
  server: ArtifactDownload;
  server_mappings: ArtifactDownload;
};

Per-platform downloads block of the Minecraft per-version manifest.

Example

ts
import type { MinecraftDownloads } from "@loontail/minecraft-kit";

const downloads: MinecraftDownloads = resolved.manifest.downloads;
console.log(downloads.client.url, downloads.client.size);

Type declaration

MemberType
clientArtifactDownload
client_mappingsArtifactDownload
serverArtifactDownload
server_mappingsArtifactDownload

Source

src/types/minecraft.ts:149

MIT License