-
Notifications
You must be signed in to change notification settings - Fork 0
Validation Reports
Maire edited this page Jun 10, 2026
·
1 revision
MarieLib includes a datapack validation engine that reports errors and warnings for loaded content.
/<modId> diagnostics
Runs validation against all loaded MarieLib datapack content and prints results to chat.
The DatapackDiagnostics engine checks for:
- Missing value key references
- Invalid JSON schema fields
- Broken item or effect ID references
- Malformed datapack entries
- Missing
marie_schema_versionkeys - Conflicting source classifications
Diagnostics are printed with severity levels:
| Severity | Color | Meaning |
|---|---|---|
| ERROR | Red | Will cause broken behavior |
| WARNING | Yellow | May cause unexpected behavior |
Output is capped at 100 lines in chat. Full diagnostic history is available through the diagnostics singleton.
Generate valid JSON templates for any supported datapack type:
/<modId> schema source_classifications
/<modId> schema effects
/<modId> schema compat
See Datapack Support for the full list of types.
- Run diagnostics after every datapack change.
- Fix ERROR-level issues before deploying to a live server.
- Use schema templates to avoid common formatting mistakes.
MarieLib · Shared framework for Marie mods · Documentation for 1.0.x