Damage condition
Checks the damage source, damage amount and related entities. Embedded in DamageCondition fields.
| Type | Purpose |
|---|---|
saturn:always | The condition is always true. |
saturn:never | The condition is always false. |
saturn:and | Matches only when every sub-condition holds. |
saturn:or | Matches when any sub-condition holds. |
saturn:not | Inverts the match result of the sub-condition. |
saturn:chance | Decides whether the check succeeds based on a given chance. |
saturn:js | Calls a callback registered by KubeJS and passes the params argument. |
saturn:amount_range | Checks whether the damage amount is between min and max, inclusive. |
saturn:directness | Checks whether the damage is direct damage. |
saturn:damage_type | Checks the type of the damage source. |
saturn:damage_type_tag | Checks whether the damage type belongs to the given tag. |
saturn:fire | Checks whether the damage source is fire damage. |
saturn:magic | Checks whether the damage source is magic damage. |
saturn:projectile | Checks whether the damage comes from a projectile matching the type or condition. |