Skip to content

@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

MemberTypeDescription
complianceLevelnumberCompliance level: 0 = legacy, 1 = secure-chat / safety features.
idMinecraftVersionIdVersion id (e.g. "1.20.1").
releaseTimestringOriginal release time (ISO-8601).
sha1stringSHA-1 of the per-version manifest (added in v2).
timestringManifest's last edit time (ISO-8601).
typeMinecraftChannelRelease channel.
urlstringURL to the per-version manifest JSON.

Source

src/types/minecraft.ts:67

MIT License