@minecraft/server

    Class BlockComponentPlayerDestroyEvent

    This class is deprecated and will be removed in 2.0.0.

    Contains information regarding a specific block being destroyed.

    Hierarchy (View Summary, Expand)

    Index

    Properties

    block: Block

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

    destroyedBlockPermutation: BlockPermutation

    This property is deprecated and will be removed in 2.0.0.

    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

    This property is deprecated and will be removed in 2.0.0.

    The player that destroyed this block.

    MMNEPVFCICPMFPCPTTAAATR