Appearance
helix / ValidateOptions
Interface: ValidateOptions
Defined in: validate/mcdoc.ts:36
Properties
cacheDir?
optionalcacheDir?:string
Defined in: validate/mcdoc.ts:47
Where Spyglass caches vanilla-mcdoc + the mcmeta summary between runs. Defaults to ~/.cache/helix-mcdoc. Deleting it forces a re-fetch.
gameVersion?
optionalgameVersion?:string
Defined in: validate/mcdoc.ts:42
Minecraft version to validate against. Defaults to the pack's target profile id (dp.version.id). Override when the profile id isn't a release Spyglass/mcmeta recognises (e.g. a snapshot alias).
registryFilesOnly?
optionalregistryFilesOnly?:boolean
Defined in: validate/mcdoc.ts:54
Restrict validation to the dp.registryFile(...) escape-hatch resources (the raw-JSON seam) rather than every emitted .json. Off by default: validating everything also cross-checks the typed builders' output against the vanilla schema.