block = BlockFactory::get(Block::CARROT_BLOCK); parent::__construct(self::CARROT, $meta, "Carrot"); } public function getFoodRestore() : int{ return 3; } public function getSaturationRestore() : float{ return 4.8; } }