Skip to content

WeightedPressurePlate ​

class · pocketmine\block\WeightedPressurePlate · source

Extends PressurePlate
Implements AnalogRedstoneSignalEmitter

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\BlockIdentifier $idInfo, string $name, \pocketmine\block\BlockTypeInfo $typeInfo, int $deactivationDelayTicks, float $signalStrengthFactor = 1.0)

calculatePlateState() protected ​

php
protected function calculatePlateState(array $entities) : array

getOutputPower() 5.46.0 protected ​

php
protected function getOutputPower() : int

hasOutputSignal() protected ​

php
protected function hasOutputSignal() : bool

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