Skip to content

PaleMossCarpet 5.46.0 ​

class · pocketmine\block\PaleMossCarpet · source

Extends BaseCarpetWithVine

Methods ​

createTopperWithSide() protected ​

php
protected function createTopperWithSide(\pocketmine\block\Block $base) : ?\pocketmine\block\PaleMossVine

isCarpetPart() protected ​

php
protected function isCarpetPart() : bool

onInteract() ​

php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : bool

place() ​

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) : bool

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.