canBeSupportedBy($tx->fetchBlock($blockReplace->getPosition()->down()))){ return false; } return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player); } public function onNearbyBlockChange() : void{ $world = $this->position->getWorld(); if(!$this->canBeSupportedBy($world->getBlock($this->position->down()))){ $world->useBreakOn($this->position); }else{ parent::onNearbyBlockChange(); } } private function canBeSupportedBy(Block $block) : bool{ return $block->getSupportType(Facing::UP)->hasCenterSupport(); } }