40 if(($water = $this->getAdjacentWater()) !== null){
41 BlockEventHelper::form($this, VanillaBlocks::CONCRETE()->
setColor($this->color), $water);
43 $this->startFalling();
48 if($this->getAdjacentWater() === null){
51 return VanillaBlocks::CONCRETE()->setColor($this->color);
54 private function getAdjacentWater() : ?Water{
55 foreach(Facing::ALL as $i){
56 if($i === Facing::DOWN){
59 $block = $this->getSide($i);
60 if($block instanceof Water){