@minecraft/server

    Class BlockComponentPlayerBreakEvent

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

    Hierarchy (View Summary, Expand)

    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.

    MMNEPVFCICPMFPCPTTAAATR