Has Element

Entity Condition Type

Checks if the entity has the specified Element.

Type IDs: seven-elements:has_element, origins-genshin:has_element

Fields

Field Type Default Description
elements Element or Array of Element The element to check for.

Examples

"entity_condition": {
    "type": "seven-elements:has_element",
    "element": "HYDRO"
}

This example checks if the entity has the Hydro element.

"entity_condition": {
    "type": "seven-elements:has_element",
    "element": [
        "PYRO",
        "CRYO"
    ]
}

This example checks if the entity has either the Pyro or Cryo element.