Appearance
@loontail/minecraft-kit v0.8.14 / RepairBlockedAspect
Type alias: RepairBlockedAspect
ts
type RepairBlockedAspect: {
code: MinecraftKitErrorCode;
message: string;
};Why an aspect could not be repaired this run. Recorded by repairAll when planning or running a repair fails with a connectivity error, so an offline "Repair" degrades to "these aspects still need the network" instead of rejecting the whole operation.
Example
ts
const report = await kit.repair.all(target);
for (const [aspect, blocker] of report.blockedAspects) {
console.warn(`${aspect} could not be repaired offline: ${blocker.message}`);
}Type declaration
| Member | Type |
|---|---|
code | MinecraftKitErrorCode |
message | string |