[This is preliminary documentation and is subject to change.]
The PlayerClickingEventArgs type exposes the following properties.
Properties
| Member | Description | |
|---|---|---|
| Action | Whether the player is building a block (right-click) or deleting it (left-click).
Can be changed. | |
| Block | Block type that the player is currently holding.
Can be changed. | |
| Cancel | If set to 'true', denies click and sends a SetBlock packet to the client to revert any client-side changes. | |
| Coords | Click coordinates, in terms of blocks. Must be within map bounds.
Can be changed. | |
| Player | Player who is attempting to click. |