Damagedealt
Criteria: DamageDealt
Triggered when a player, or a projectile shot by a player, damages a matching entity.
Attributes
| Attribute | Description | Default |
|---|---|---|
| EntityType | The damaged entity type to match. Supports comma-separated entity types. | Any |
| Cause | The Bukkit damage cause to match. Supports comma-separated causes. | Any |
| MinDamage | The minimum final damage required for the criteria to progress. | 0 |
| DamageAsAmount | Whether to add the rounded final damage amount instead of 1 progress. | false |
Examples
SOME_ACHIEVEMENT:
Criteria:
DEAL_HEAVY_DAMAGE:
Type: DamageDealt
EntityType: ZOMBIE,SKELETON
Cause: ENTITY_ATTACK,PROJECTILE
MinDamage: 8
Amount: 25