22declare(strict_types=1);
24namespace pocketmine\crafting\json;
51 public array $unlockingIngredients = [];
65 $this->input = $input;
66 $this->output = $output;
67 $this->unlockingIngredients = $unlockingIngredients;
74 $result = (array) $this;
75 if(count($this->unlockingIngredients) === 0){
76 unset($result[
"unlockingIngredients"]);
__construct(array $input, array $output, string $block, int $priority, array $unlockingIngredients=[])