Class: BlockComponentBlockBreakEvent
event block componentBeta
包含有关特定方块被破坏的信息。
Contains information regarding a specific block being broken.
Extends
Properties
block
readonlyblock:Block
Beta
Remarks
当前世界中此事件所在位置的方块。
Block currently in the world at the location of this event.
Inherited from
blockDestructionSource?
readonlyoptionalblockDestructionSource?:Block
Beta
Remarks
导致破坏的方块。
The block that caused destruction.
brokenBlockPermutation
readonlybrokenBlockPermutation:BlockPermutation
Beta
Remarks
返回此方块在被破坏之前的置换信息。
Returns permutation information about this block before it was broken.
dimension
readonlydimension:Dimension
Beta
Remarks
包含此事件主体方块的维度。
Dimension that contains the block that is the subject of this event.
Inherited from
entitySource?
readonlyoptionalentitySource?:Entity
Beta
Remarks
导致破坏的 Actor(引擎对象)。
The Actor that caused destruction.
