@minecraft/server
    Preparing search index...

    Class TargetBlockHitAfterEventBeta

    Contains information related to changes to a target block hit.

    Hierarchy (View Summary)

    Index

    Properties

    block: Block

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

    dimension: Dimension

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

    hitVector: Vector3

    The position where the source hit the block.

    previousRedstonePower: number

    The redstone power before the block is hit.

    redstonePower: number

    The redstone power at the time the block is hit.

    source: Entity

    Optional source that hit the target block.