Skip to content

Activator MOB_CLICK

fromgate edited this page May 7, 2017 · 2 revisions

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>

Example:

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

Temporary placeholders provided by this activator

Placeholder Description
%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
Clone this wiki locally