StaticSupportTrait
Used by blocks which always have the same support requirements no matter what state they are in. Prevents placement if support isn't available, and automatically destroys itself if support is removed.
Methods
canBePlacedAt()
php
public function canBePlacedAt(\pocketmine\block\Block $blockReplace, \pocketmine\math\Vector3 $clickVector, int $face, bool $isClickedBlock) : boolonNearbyBlockChange()
php
public function onNearbyBlockChange() : void