Entity Condition Type

Checks the current (and absolute) health value of the entity.

Type ID: origins:health


Field Type Default Description
comparison Comparison How the health of the entity should be compared to the specified value.
compare_to Float Which value the health should be compared to.


"condition": {
    "type": "origins:health",
    "comparison": "<",
    "compare_to": 20

This example will check if the entity's health is less than 10 hearts (or 20 health points).