Script API - v1.26.10
    Preparing search index...

    Class PressurePlatePopAfterEvent

    Contains information related to changes to a pressure plate pop.

    export class PressurePlatePopAfterEvent extends BlockEvent {
    private constructor();
    readonly previousRedstonePower: number;
    readonly redstonePower: number;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    block: Block

    Block currently in the world at the location of this event.

    This property can't be read in early-execution mode.

    dimension: Dimension

    Dimension that contains the block that is the subject of this event.

    This property can't be read in early-execution mode.

    previousRedstonePower: number

    The redstone power of the pressure plate before it was popped.

    This property can't be read in early-execution mode.

    redstonePower: number

    The redstone power of the pressure plate at the time of the pop.

    This property can't be read in early-execution mode.