Description
Checks the target's last damage cause.
You can find a list of valid damage causes on the Spigot Javadoc
Attributes
Attribute | Aliases | Description | Default |
---|---|---|---|
damagecause | cause, c | The damage cause to match | ENTITY_ATTACK |
Examples
Conditions:
- lastdamagecause{c=ENTITY_ATTACK} true