Passive Listener Right Click Entity - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: rightclickentity

Properties:

Property Value
Cancellable true
Has Entity Target If it is a LivingEntity
Has Location Target If it's not a LivingEntity

Description:

The listener activates whenever a player right-clicks an entity.

String Format Options:

Arguments are optional but may be a comma-separated list of entity types to listen to.

triggers:
    - rightclickentity (entity types)

Section Format Options:

(Unsupported for now.)