@minecraft/server
    Preparing search index...

    Class BlockComponentPlayerDestroyEventBeta

    Contains information regarding a specific block being destroyed.

    Hierarchy (View Summary)

    Index

    Properties

    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.