Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / AttackTarget

Variable: AttackTarget โ€‹

const AttackTarget: object

Defined in: core/values/enchantment/components.ts:13

Who is enchanted and who the effect lands on, in an attack.

Type Declaration โ€‹

ATTACKER โ€‹

readonly ATTACKER: "attacker" = "attacker"

For a projectile, the one who fired it.

DAMAGING_ENTITY โ€‹

readonly DAMAGING_ENTITY: "damaging_entity" = "damaging_entity"

The projectile, or the attacker in melee.

VICTIM โ€‹

readonly VICTIM: "victim" = "victim"

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.