Passive Listener Entity Target - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: entitytarget

Properties:

Property Value
Cancellable true
Has Entity Target true
Has Location Target false

Description:

The listener activates whenever an entity targets another entity.

String Format Options:

The argument is optional, but it may be a pipe-separated (|) list of target reasons.

triggers:
    - entitytarget (reasons)

Config Format Options:

(Unsupported for now.)