@minecraft/server / BlockComponentPlayerBreakEvent
Class: BlockComponentPlayerBreakEvent ​
Defined in: @minecraft/server/index.d.ts:4492
Contains information regarding a specific block being broken by a player.
Extends ​
Properties ​
block ​
readonlyblock:Block
Defined in: @minecraft/server/index.d.ts:4790
Remarks ​
Block currently in the world at the location of this event.
Inherited from ​
brokenBlockPermutation ​
readonlybrokenBlockPermutation:BlockPermutation
Defined in: @minecraft/server/index.d.ts:4500
Remarks ​
Returns permutation information about this block before it was broken.
dimension ​
readonlydimension:Dimension
Defined in: @minecraft/server/index.d.ts:4797
Remarks ​
Dimension that contains the block that is the subject of this event.
Inherited from ​
player? ​
readonlyoptionalplayer?:Player
Defined in: @minecraft/server/index.d.ts:4506
Remarks ​
The player that broke this block.