Candle
Extends Transparent
Implements Lightable
Constants
MAX_COUNT
php
public const MAX_COUNT = 4MIN_COUNT
php
public const MIN_COUNT = 1Methods
canBePlacedAt()
php
public function canBePlacedAt(\pocketmine\block\Block $blockReplace, \pocketmine\math\Vector3 $clickVector, int $face, bool $isClickedBlock) : booldescribeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetCandleIfCompatibleType() protected
php
protected function getCandleIfCompatibleType(\pocketmine\block\Block $block) : ?\pocketmine\block\CandlegetCount()
php
public function getCount() : intgetDropsForCompatibleTool()
php
public function getDropsForCompatibleTool(\pocketmine\item\Item $item) : arraygetLightLevel()
php
public function getLightLevel() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypeplace()
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() : arraysetCount()
php
public function setCount(int $count) : self