@minecraft/server
    Preparing search index...

    Class BlockComponentPlayerInteractEventBeta

    Contains information regarding a specific block being interacted with.

    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.

    face: Direction

    The block face that was interacted with.

    faceLocation?: Vector3

    Location relative to the bottom north-west corner of the block that the player interacted with.

    player?: Player

    The player that interacted with this block.