Skip to content

@loontail/minecraft-kit v0.8.14 / LibraryArtifact

Type alias: LibraryArtifact

ts
type LibraryArtifact: ArtifactDownload & {
  path: string;
};

An individual library artifact (jar/zip).

Example

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

const lwjgl: LibraryArtifact | undefined = libraries[0]?.downloads?.artifact;
if (lwjgl) console.log(`${lwjgl.path} ${lwjgl.size} bytes`);

Type declaration

MemberType
pathstring

Source

src/types/minecraft.ts:222

MIT License