Predicate (Entity Condition Type) - MerchantCalico/bovines-and-buttercups-archive GitHub Wiki

Tests an entity against a datapack predicate (Located in the data/<namespace>/predicates directory).

Type Resource Location: bovinesandbuttercups:predicate

Introduced In: 1.3.0

Fields

Field Type Default Description
location Resource Location Defines the resource location of the predicate to be used in checks.

Example

"condition": {
  "type": "bovinesandbuttercups:predicate",
  "location": "example:has_green_wool"
}

This example checks if an entity meets the example:has_green_wool predicate (located in data/example/predicates/has_green_wool.json)

⚠️ **GitHub.com Fallback** ⚠️