@minecraft
    正在准备搜索索引...

    接口 NeighborChange实验性

    Contains information regarding a block change in one neighboring direction.

    interface NeighborChange {
        blockPermutation: BlockPermutation;
        direction: Direction;
        previousPermutation: BlockPermutation;
    }
    索引
    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.