DaylightSensor
Extends Transparent
Implements AnalogRedstoneSignalEmitter
Properties
$inverted protected
php
protected bool $invertedMethods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetFuelTime()
php
public function getFuelTime() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypegetWeakPower() 5.46.0
php
public function getWeakPower(int $face) : intisInverted()
php
public function isInverted() : boolisRedstoneSource() 5.46.0
php
public function isRedstoneSource() : boolonInteract()
php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : boolonScheduledUpdate()
php
public function onScheduledUpdate() : voidrecalculateCollisionBoxes() protected
php
protected function recalculateCollisionBoxes() : arraysetInverted()
php
public function setInverted(bool $inverted = true) : self