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