Skip to content

@minecraft/server


@minecraft/server / PressurePlatePopAfterEvent

Class: PressurePlatePopAfterEvent ​

Defined in: @minecraft/server/index.d.ts:18439

Contains information related to changes to a pressure plate pop.

Extends ​

Properties ​

block ​

readonly block: Block

Defined in: @minecraft/server/index.d.ts:4790

Remarks ​

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

Inherited from ​

BlockEvent.block


dimension ​

readonly dimension: Dimension

Defined in: @minecraft/server/index.d.ts:4797

Remarks ​

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

Inherited from ​

BlockEvent.dimension


previousRedstonePower ​

readonly previousRedstonePower: number

Defined in: @minecraft/server/index.d.ts:18447

Remarks ​

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


redstonePower ​

readonly redstonePower: number

Defined in: @minecraft/server/index.d.ts:18454

Remarks ​

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