@minecraft/server / PressurePlatePushAfterEvent
Class: PressurePlatePushAfterEvent ​
Defined in: @minecraft/server/index.d.ts:18492
Contains information related to changes to a pressure plate push.
Extends ​
Properties ​
block ​
readonlyblock:Block
Defined in: @minecraft/server/index.d.ts:4790
Remarks ​
Block currently in the world at the location of this event.
Inherited from ​
dimension ​
readonlydimension:Dimension
Defined in: @minecraft/server/index.d.ts:4797
Remarks ​
Dimension that contains the block that is the subject of this event.
Inherited from ​
previousRedstonePower ​
readonlypreviousRedstonePower:number
Defined in: @minecraft/server/index.d.ts:18500
Remarks ​
The redstone power of the pressure plate before it was pushed.
redstonePower ​
readonlyredstonePower:number
Defined in: @minecraft/server/index.d.ts:18507
Remarks ​
The redstone power of the pressure plate at the time of the push.
source ​
readonlysource:Entity
Defined in: @minecraft/server/index.d.ts:18513
Remarks ​
Source that triggered the pressure plate push.