类 BlockComponentPlayerDestroyEvent

Contains information regarding a specific block being destroyed.

层级 (查看层级一览)

属性

block: Block

Block currently in the world at the location of this event.

destroyedBlockPermutation: BlockPermutation

Returns permutation information about this block before it was destroyed.

dimension: Dimension

Dimension that contains the block that is the subject of this event.

player?: Player

The player that destroyed this block.