Skip to content

helix / ValidateOptions

Interface: ValidateOptions

Defined in: validate/mcdoc.ts:36

Properties

cacheDir?

optional cacheDir?: 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?

optional gameVersion?: 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?

optional registryFilesOnly?: 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.

Released under the MIT License · Credits