Activator MOB_KILL

MOB_KILL is executing when player right-clicking mob. You can define mob type (name supported too) for this activators.

/react add MOB_KILL <ActivatorId> type:<MobType> [name:<MobName>]

Example:

/react add MOB_KILL SuperCowHit name:{&6Super Cow} type:COW

Temporary placeholders provided by this activator

PlaceholderDescription
%moblocation%Location of mob
%mobtype%Mob type.
If you using Citizens plugins - NPC will have type "PLAYER"
%mobname%Mob name.
If mob has no custom name this placeholder will be equal to mob type
%mobkiller%Player who killed the mob