Check datapack project
check_projectValidate Minecraft datapack files by running Spyglass checks across all .mcfunction, JSON, .mcmeta, .snbt, and .mcdoc files. Returns diagnostics for syntax, schema, and reference errors.
Instructions
Run Spyglass (Datapack Helper Plus engine) on every .mcfunction, pack JSON, .mcmeta, .snbt, and .mcdoc file under a datapack workspace. Pass the pack root (folder with pack.mcmeta) or a parent folder. First run may download the vanilla cache and take a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Datapack or workspace root. Defaults to DATAPACK_WORKSPACE or the current working directory. |