getSide(Facing::DOWN); if($down->getId() === Block::GRASS or $down->getId() === Block::DIRT or $down->getId() === Block::FARMLAND){ return parent::place($item, $blockReplace, $blockClicked, $face, $clickVector, $player); } return false; } public function onNearbyBlockChange() : void{ if($this->getSide(Facing::DOWN)->isTransparent()){ $this->getLevel()->useBreakOn($this); } } public function getFlameEncouragement() : int{ return 60; } public function getFlammability() : int{ return 100; } }