Skip to content

Interface AssetIssue

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

🏷️ Properties

asset

ts
asset: Object

The problematic asset

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

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: "asset"

The role of the file in Minecraft.

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

type

ts
type: "missing" | "corrupted"

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

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