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