Description
Checks the cause of the damage the entity took, if the skilltree originated from a onDamaged Trigger or an onDamaged Aura.
A list of valid damage causes can be found in the Spigot DamageCause javadoc.
Attributes
Attribute | Aliases | Description | Default |
---|---|---|---|
damagecause | cause, c | The damage cause to match | ENTITY_ATTACK |
Examples
Conditions:
- damagecause{cause=ENTITY_ATTACK} true