| PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
    | 
 Inheritance diagram for pocketmine\event\block\PressurePlateUpdateEvent:
 Inheritance diagram for pocketmine\event\block\PressurePlateUpdateEvent: Collaboration diagram for pocketmine\event\block\PressurePlateUpdateEvent:
 Collaboration diagram for pocketmine\event\block\PressurePlateUpdateEvent:| Public Member Functions | |
| __construct (Block $block, Block $newState, private array $activatingEntities) | |
| call () | |
| getActivatingEntities () | |
| getBlock () | |
| getEventName () | |
| getNewState () | |
| isCancelled () | |
| Static Public Member Functions | |
| static | hasHandlers () | 
| Protected Attributes | |
| string | $eventName = null | 
Called whenever the list of entities on a pressure plate changes. Depending on the type of pressure plate, this might turn on/off its signal, or change the signal strength.
Definition at line 33 of file PressurePlateUpdateEvent.php.
| pocketmine\event\block\PressurePlateUpdateEvent::__construct | ( | Block | $block, | 
| Block | $newState, | ||
| private array | $activatingEntities ) | 
| Entity[] | $activatingEntities | 
Definition at line 37 of file PressurePlateUpdateEvent.php.
| 
 | inherited | 
| pocketmine\event\block\PressurePlateUpdateEvent::getActivatingEntities | ( | ) | 
Returns a list of entities intersecting the pressure plate's activation box. If the pressure plate is about to deactivate, this list will be empty.
Definition at line 51 of file PressurePlateUpdateEvent.php.
| 
 | inherited | 
Definition at line 37 of file BlockEvent.php.
| 
 | inherited | 
Definition at line 43 of file BaseBlockChangeEvent.php.
| 
 | staticinherited | 
| 
 | inherited | 
Returns whether this instance of the event is currently cancelled.
If it is cancelled, only downstream handlers that declare @handleCancelled will be called with this event. 
| 
 | protectedinherited |