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