@minecraft/server
    Preparing search index...

    Interface NeighborChangeBeta

    Contains information regarding a block change in one neighboring direction.

    interface NeighborChange {
        blockPermutation: BlockPermutation;
        direction: Direction;
        previousPermutation: BlockPermutation;
    }
    Index

    Properties

    blockPermutation: BlockPermutation

    The permutation of the neighboring block after its last change during the tick.

    direction: Direction

    Direction from the block receiving the event to the neighboring block that changed.

    previousPermutation: BlockPermutation

    The permutation of the neighboring block before its first change during the tick.