Repository navigation
Damaged Trigger
Xemor edited this page Jul 23, 2021
·
1 revision
The damaged trigger is used when you want to listen for any type, or a specific type, of damage being taken.
This trigger has a parameter of a list of different causes you can have it trigger for.
trigger:
type: DAMAGED
causes:
- SUFFOCATION
A list of all legal damage causes can be found here. https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
If you do not add any causes, then it will default to triggering when any damage is taken.
- What are Conditions?
- List of all Conditions
- NOT Condition
- Weather Condition
- Tamed Condition
- Height Condition
- Metadata Condition
- Shielded Condition
- Light Condition
- Shooter Condition
- Health Condition
- Entity Condition
- Cooldown Condition