Skip to content

Passive Listener Right Click Entity

JasperLorelai edited this page Jan 24, 2025 · 2 revisions

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.)

Clone this wiki locally