@minecraft/server
    Preparing search index...

    Class BlockComponentPlayerBreakEventBeta

    Contains information regarding a specific block being broken by a player.

    Hierarchy (View Summary)

    Index

    Properties

    block: Block

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

    brokenBlockPermutation: BlockPermutation

    Returns permutation information about this block before it was broken.

    dimension: Dimension

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

    player?: Player

    The player that broke this block.