-
Notifications
You must be signed in to change notification settings - Fork 1
onPlayerPlaceBlock
KabanFriends edited this page Nov 27, 2022
·
1 revision
A function that is called when a player places a block.
The event
object contains following fields:
player
: Player
- The Player that triggered this event.
- ID of the block that the player placed.
- X coordinate of the block that the player placed.
- Y coordinate of the block that the player placed.
- Z coordinate of the block that the player placed.
- Cancels the event. The block will not be placed if the event is cancelled.