Appearance
helix / AttackTarget
Variable: AttackTarget โ
constAttackTarget:object
Defined in: core/values/enchantment/components.ts:13
Who is enchanted and who the effect lands on, in an attack.
Type Declaration โ
ATTACKER โ
readonlyATTACKER:"attacker"="attacker"
For a projectile, the one who fired it.
DAMAGING_ENTITY โ
readonlyDAMAGING_ENTITY:"damaging_entity"="damaging_entity"
The projectile, or the attacker in melee.
VICTIM โ
readonlyVICTIM:"victim"="victim"