Skip to main content

Class: PressurePlatePushAfterEvent

Contains information related to changes to a pressure plate push.

Extends

Constructors

new PressurePlatePushAfterEvent()

private new PressurePlatePushAfterEvent(): PressurePlatePushAfterEvent

Returns

PressurePlatePushAfterEvent

Overrides

BlockEvent . constructor

Properties

block

readonly block: Block

Remarks

Block impacted by this event.

Inherited from

BlockEvent . block


dimension

readonly dimension: Dimension

Remarks

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

Inherited from

BlockEvent . dimension


previousRedstonePower

readonly previousRedstonePower: number

Remarks

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


redstonePower

readonly redstonePower: number

Remarks

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


source

readonly source: Entity

Remarks

Source that triggered the pressure plate push.