@minecraft/server / BlockComponentBlockBreakEvent
Class: BlockComponentBlockBreakEvent ​
Defined in: @minecraft/server/index.d.ts:4385
Contains information regarding a specific block being broken.
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 ​
blockDestructionSource? ​
readonlyoptionalblockDestructionSource?:Block
Defined in: @minecraft/server/index.d.ts:4392
Remarks ​
The block that caused destruction.
brokenBlockPermutation ​
readonlybrokenBlockPermutation:BlockPermutation
Defined in: @minecraft/server/index.d.ts:4399
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 ​
entitySource? ​
readonlyoptionalentitySource?:Entity
Defined in: @minecraft/server/index.d.ts:4405
Remarks ​
The Actor that caused destruction.