Skip to content

Interface AssetIndexIssue

The asset index issue represents a corrupted or missing minecraft asset index file. You can use Installer.installAssets to fix this.

🏷️ Properties

expectedChecksum

ts
expectedChecksum: string

The expected checksum of the file. Can be an empty string if this file is missing or not check checksum at all! Inherited from: Issue.expectedChecksum

Defined in: packages/core/diagnose.ts:29

file

ts
file: string

The path of the problematic file. Inherited from: Issue.file

Defined in: packages/core/diagnose.ts:21

hint

ts
hint: string

The useful hint to fix this issue. This should be a human readable string. Inherited from: Issue.hint

Defined in: packages/core/diagnose.ts:25

receivedChecksum

ts
receivedChecksum: string

The actual checksum of the file. Can be an empty string if this file is missing or not check checksum at all! Inherited from: Issue.receivedChecksum

Defined in: packages/core/diagnose.ts:33

role

ts
role: "assetIndex"

The role of the file in Minecraft.

Defined in: packages/core/diagnose.ts:96

type

ts
type: "missing" | "corrupted"

The type of the issue. Inherited from: Issue.type

Defined in: packages/core/diagnose.ts:13

version

ts
version: string

The minecraft version of the asset index

Defined in: packages/core/diagnose.ts:101