Appearance
@loontail/minecraft-kit v0.8.14 / MinecraftVersionSummary
Type alias: MinecraftVersionSummary
ts
type MinecraftVersionSummary: {
complianceLevel: number;
id: MinecraftVersionId;
releaseTime: string;
sha1: string;
time: string;
type: MinecraftChannel;
url: string;
};One entry from the top-level Minecraft version_manifest_v2.json listing.
Note: this is a summary entry, not the full per-version manifest. Use ResolvedMinecraft for the resolved/parsed full manifest.
Example
ts
import type { MinecraftVersionSummary } from "@loontail/minecraft-kit";
const versions: readonly MinecraftVersionSummary[] = await kit.versions.minecraft.list();
const v1201 = versions.find((v) => v.id === "1.20.1");
console.log(v1201?.releaseTime);Type declaration
| Member | Type | Description |
|---|---|---|
complianceLevel | number | Compliance level: 0 = legacy, 1 = secure-chat / safety features. |
id | MinecraftVersionId | Version id (e.g. "1.20.1"). |
releaseTime | string | Original release time (ISO-8601). |
sha1 | string | SHA-1 of the per-version manifest (added in v2). |
time | string | Manifest's last edit time (ISO-8601). |
type | MinecraftChannel | Release channel. |
url | string | URL to the per-version manifest JSON. |