50 public function __construct(array $ingredients, array $results, ShapelessRecipeType $type){
53 if(count($ingredients) > 9){
54 throw new \InvalidArgumentException(
"Shapeless recipes cannot have more than 9 ingredients");
56 $this->ingredients = $ingredients;
57 $this->results = Utils::cloneObjectArray($results);