onRightClick

open fun onRightClick(e: PlayerInteractEvent)

Lifecycle function; called when this item is left-clicked by a player and the player's cooldown is not active.