Skip to content

Flowable ​

abstract class · pocketmine\block\Flowable · source

Extends Transparent

"Flowable" blocks are destroyed if water flows into the same space as the block. These blocks usually don't have any collision boxes, and can't provide support for other blocks.

Methods ​

canBeFlowedInto() ​

php
public function canBeFlowedInto() : bool

canBePlacedAt() ​

php
public function canBePlacedAt(\pocketmine\block\Block $blockReplace, \pocketmine\math\Vector3 $clickVector, int $face, bool $isClickedBlock) : bool

getSupportType() ​

php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportType

isSolid() ​

php
public function isSolid() : 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.