Skip to content

Passive Listener Give Damage

JasperLorelai edited this page Jan 24, 2025 · 5 revisions

Source Code

PassiveSpell trigger: givedamage

Warning

Since 4.0 Beta 17 this trigger has been deprecated.

Properties:

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

Description:

The listener activates whenever an entity deals damage to another entity.

String Format Options:

The argument is optional, but it may be a pipe-separated (|) list of items in the Magic Item String format or damage causes.

triggers:
    - givedamage (items or damage causes)

Section Format Options:

(Unsupported for now.)

Clone this wiki locally