on entity_interactorg.bukkit.event.player.PlayerInteractEntityEventEntity1.0.0
Description
Fires when a player right-clicks an entity.
Variables
playerPlayer
NullableNo
The player who right clicked the entity
entityEntity
NullableNo
The entity that was right clicked
itemItemStack
NullableYes
The item in the player's main hand, or null if empty
Examples
on entity_interact: