When something hits something else
Starts when one entity damages another, such as a player hitting a mob or another player. Use it for combat rewards and PvP rules.
A Minecraft element (starts a flow) in Starts when. Needs the Basic plan or higher to go live; building and testing are free.
Example
When something hits something else → Broadcast Ouch!
Also called
hit, attack, pvp, damage, combat, punch, melee
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What it gives back
- Cause
- Damage
- Damager
- Entity
- Entity type
- Final damage
- Is critical