Lantern
Extends Transparent
Properties
$hanging protected
php
protected bool $hangingMethods
__construct()
php
public function __construct(\pocketmine\block\BlockIdentifier $idInfo, string $name, \pocketmine\block\BlockTypeInfo $typeInfo, int $lightLevel)describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetLightLevel()
php
public function getLightLevel() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypeisHanging()
php
public function isHanging() : boolonNearbyBlockChange()
php
public function onNearbyBlockChange() : voidplace()
php
public function place(\pocketmine\world\BlockTransaction $tx, \pocketmine\item\Item $item, \pocketmine\block\Block $blockReplace, \pocketmine\block\Block $blockClicked, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null) : boolrecalculateCollisionBoxes() protected
php
protected function recalculateCollisionBoxes() : arraysetHanging()
php
public function setHanging(bool $hanging) : self