@minecraft/server
    Preparing search index...

    Class BlockComponentOnPlaceEventBeta

    Contains information regarding a specific block that was placed.

    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.

    previousBlock: BlockPermutation

    Previous block at this location that was replaced.