Skip to main content

Class: BlockComponentPlayerDestroyEvent

Contains information regarding a specific block being destroyed.

Extends

Constructors

new BlockComponentPlayerDestroyEvent()

private new BlockComponentPlayerDestroyEvent(): BlockComponentPlayerDestroyEvent

Returns

BlockComponentPlayerDestroyEvent

Overrides

BlockEvent . constructor

Properties

block

readonly block: Block

Remarks

Block impacted by this event.

Inherited from

BlockEvent . block


destroyedBlockPermutation

readonly destroyedBlockPermutation: BlockPermutation

Remarks

Returns permutation information about this block before it was destroyed.


dimension

readonly dimension: Dimension

Remarks

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

Inherited from

BlockEvent . dimension


player?

optional readonly player: Player

Remarks

The player that destroyed this block.