Activator MOB_CLICK

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

/react add MOB_CLICK <ActivatorId> type:<MobType> name:<MobName>


/react add MOB_CLICK SuperCowClick name:{&6Super Cow} type:COW

Temporary placeholders provided by this activator

%moblocation%Location of clicked mob
%mobtype%Type of clicked mob.
If you clicked a player (or NPC) placeholder value will be set toPLAYER
%mobname%Custom name. If mob name was not defined placeholder value will equal to `%mobtype%'.
If player clicked, placeholder will contain player's name