SmallDripleaf
Extends Transparent
Implements HorizontalFacing
Properties
$top protected
php
protected bool $topMethods
describeBlockOnlyState()
php
public function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetAffectedBlocks()
php
public function getAffectedBlocks() : arraygetCompostabilityChance() 5.46.0
php
public function getCompostabilityChance() : intgetDropsForCompatibleTool()
php
public function getDropsForCompatibleTool(\pocketmine\item\Item $item) : arraygetFlameEncouragement()
php
public function getFlameEncouragement() : intgetFlammability()
php
public function getFlammability() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypeisTop()
php
public function isTop() : boolonInteract()
php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : 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() : arraysetTop()
php
public function setTop(bool $top) : self