Condition Is NPC - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

Modifier condition: isnpc

Properties:

Property Value
Has Entity Target true
Has Location Target false

Description:

Passes if the target has the "NPC" metadata string (NPCs from the Citizens plugin do). Since 4.0 Beta 18, it also passes if the entity is a mannequin entity.

String Format Options:

- isnpc [modifier action]

Section Format Options:

(Unsupported for now.)