DamageSource - Properties (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.3.0
Syntax
[the] (causing entity|direct entity|damage type|damage location|food exhaustion|source location) of %damagesources%Description
Represents different elements you can get from a damage source.
Examples
on damage of player:
if damage type of damage source = arrow:
broadcast "OUCHIE"
if causing entity of damage source is a chicken:
broadcast "YOU JERK"