PaleHangingMoss 5.46.0
Extends Flowable
Pale hanging moss (Bedrock 1.21.50): hangs from the bottom of a full block, leaves or another pale hanging moss. The lowest block of a strand is the tip. Bone meal extends the strand downwards by one block. Only drops with shears or silk touch.
Properties
$tip protected
php
protected bool $tipMethods
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) : voidgetCompostabilityChance()
php
public function getCompostabilityChance() : intgetDropsForIncompatibleTool()
php
public function getDropsForIncompatibleTool(\pocketmine\item\Item $item) : arraygetFlameEncouragement()
php
public function getFlameEncouragement() : intgetFlammability()
php
public function getFlammability() : intisTip()
php
public function isTip() : 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) : boolsetTip()
php
public function setTip(bool $tip) : self