The RightClickItemEvent class is fired when a player right-clicks somewhere with an Item.
Note that this is NOT fired if the player is targeting a block (see RightClickBlockEvent) or an entity (see PlayerEntityInteractEvent).
The RightClickItemEvent class is a subtype of the PlayerInteractEvent class and inherits all its properties and functions.