Class: PlayerBreakBlockAfterEvent
Contains information regarding an event after a player breaks a block.
Extends
Constructors
new PlayerBreakBlockAfterEvent()
private
new PlayerBreakBlockAfterEvent():PlayerBreakBlockAfterEvent
Returns
Overrides
Properties
block
readonly
block:Block
Remarks
Block impacted by this event.
Inherited from
brokenBlockPermutation
readonly
brokenBlockPermutation:BlockPermutation
Remarks
Returns permutation information about this block before it was broken.
dimension
readonly
dimension:Dimension
Remarks
Dimension that contains the block that is the subject of this event.
Inherited from
itemStackAfterBreak?
optional
readonly
itemStackAfterBreak:ItemStack
Remarks
The item stack that was used to break the block after the block was broken, or undefined if empty hand.
itemStackBeforeBreak?
optional
readonly
itemStackBeforeBreak:ItemStack
Remarks
The item stack that was used to break the block before the block was broken, or undefined if empty hand.
player
readonly
player:Player
Remarks
Player that broke the block for this event.