DoublePlant
Extends Flowable
Properties
$top protected
php
protected bool $topMethods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetAffectedBlocks()
php
public function getAffectedBlocks() : arraygetDrops()
php
public function getDrops(\pocketmine\item\Item $item) : arraygetFlameEncouragement()
php
public function getFlameEncouragement() : intgetFlammability()
php
public function getFlammability() : intisTop()
php
public function isTop() : boolisValidHalfPlant()
php
public function isValidHalfPlant() : boolReturns whether this double-plant has a corresponding other half.
onNearbyBlockChange()
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) : boolsetTop()
php
public function setTop(bool $top) : self