checkAdjacentWater()) !== null){ $this->pos->getWorld()->setBlock($this->pos, $block); }else{ $this->startFalling(); } } public function tickFalling() : ?Block{ return $this->checkAdjacentWater(); } private function checkAdjacentWater() : ?Block{ foreach(Facing::ALL as $i){ if($i === Facing::DOWN){ continue; } if($this->getSide($i) instanceof Water){ return BlockFactory::get(BlockLegacyIds::CONCRETE, $this->idInfo->getVariant()); } } return null; } }