The RightClickBlockEvent class is fired when a player right-clicks at some block.
The RightClickBlockEvent class is a subtype of the PlayerInteractEvent class and inherits all its properties and functions.
Here is an overview of the RightClickBlockEvent properties:
Property | Type | read / write |
---|---|---|
hitVec | Vec3 | r |
Below you find short descriptions about each of the properties and some examples about how to use them in your spells.
The exact position the player clicked at.