Skip to content

SimplePressurePlate ​

abstract class · pocketmine\block\SimplePressurePlate · source

Extends PressurePlate

Properties ​

$pressed protected ​

php
protected bool $pressed

Methods ​

calculatePlateState() protected ​

php
protected function calculatePlateState(array $entities) : array

describeBlockOnlyState() protected ​

php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

hasOutputSignal() protected ​

php
protected function hasOutputSignal() : bool

isPressed() ​

php
public function isPressed() : bool

setPressed() ​

php
public function setPressed(bool $pressed) : self

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.