Script API - v1.19.70
    Preparing search index...

    Contains information regarding an event where a player breaks a block.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    block: Block

    Block broken in this event. Note that because this event fires right after a block is broken, the block you will receive will likely be of type 'minecraft:air'. See the .brokenBlockPermutation property for information on this block before it was broken.

    brokenBlockPermutation: BlockPermutation

    Returns permutation information about this block before it was broken.

    dimension: Dimension

    Dimension that contains the block that has been broken in this event.

    player: Player

    Player that broke the block for this event.