PlayerInteractWithBlockAfterEvent Class
Contains information regarding an event after a player interacts with a block.
Properties
block
read-only block: Block;
The block that will be interacted with.
Type: Block
blockFace
read-only blockFace: Direction;
The face of the block that is being interacted with.
Type: Direction
faceLocation
read-only faceLocation: Vector3;
Location relative to the bottom north-west corner of the block where the item is placed.
Type: Vector3
itemStack
read-only itemStack?: ItemStack;
The item stack that is being used in the interaction, or undefined if empty hand.
Type: ItemStack
player
read-only player: Player;
Source Player for this event.
Type: Player
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for