Interface AssetIssue
The asset issue represents a corrupted or missing minecraft asset file. You can use Installer.installResolvedAssets
to fix this.
🏷️ Properties
asset
asset: Object
The problematic asset
Defined in: packages/core/diagnose.ts:89
expectedChecksum
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
file: string
The path of the problematic file. Inherited from: Issue.file
Defined in: packages/core/diagnose.ts:21
hint
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
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
role: "asset"
The role of the file in Minecraft.
Defined in: packages/core/diagnose.ts:84
type
type: "missing" | "corrupted"
The type of the issue. Inherited from: Issue.type
Defined in: packages/core/diagnose.ts:13