Interface: PlayerBreakBlockAfterEvent
Event fired after a player successfully breaks a block.
Properties
block
readonlyblock:Block
Live block at the affected position.
brokenBlockPermutation
readonlybrokenBlockPermutation:BrokenBlockPermutation
Block permutation present when the event was captured.
dimension
readonlydimension:Dimension
Dimension containing the affected block.
itemStack
readonlyitemStack:ItemStack|null
Detached copy of the used stack, or null for an empty hand.
player
readonlyplayer:Player|null
Currently connected player with the captured UUID, or null when unavailable.
playerId
readonlyplayerId:string
Stable UUID of the player that performed the action.
playerName
readonlyplayerName:string
Player name captured when the action occurred.