Skip to content

@loontail/minecraft-kit v0.8.14 / ArtifactDownload

Type alias: ArtifactDownload

ts
type ArtifactDownload: {
  sha1: string;
  size: number;
  url: string;
};

A single hash-verified download.

Example

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

const client: ArtifactDownload = resolved.manifest.downloads.client;
console.log(`client jar: ${client.url} (sha1 ${client.sha1})`);

Type declaration

MemberType
sha1string
sizenumber
urlstring

Source

src/types/minecraft.ts:167

MIT License