@minecraft/server
    Preparing search index...

    Class BlockComponentNeighborChangedAfterEventBeta

    Contains information regarding neighboring block changes for a specific block.

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    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.

    Methods

    • Beta

      Returns NeighborChange[]

      One entry for each neighboring direction that changed, ordered by when each direction first changed. If a direction changed multiple times during the tick, the entry contains the permutation before the first change and after the last change. Intermediate permutations are not included.

      Returns the neighboring block changes for this event.