EntitySilenceSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.EntitySilenceSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

A targeted spell that toggles mob sounds.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Type Default
target-state Boolean State "toggle"

Example:

sound:
    spell-class: ".targeted.EntitySilenceSpell"
    range: 20
    target-state: toggle
    can-target: nonplayers