Skip to content

strictEntityTypeCheck

SPGoding edited this page Apr 26, 2020 · 1 revision

Rule Details

⚠️ Diagnostic: this is a diagnostic rule used by the diagnostic feature.

Show diagnostics for entity types that don't exist in the registry.

  • ("always"): show diagnostics for all unknown IDs
  • ("only-default-namespace"): only show diagnostics for unknown IDs that are under the default namespace (minecraft).

Examples

Default

{
    "strictEntityTypeCheck": ["error", "only-default-namespace"]
}

Disabled

{
    "strictEntityTypeCheck": null
}

History

This rule was introduced in DHP 2.0.0.

Clone this wiki locally