ShapedRecipeData
Implements JsonSerializable
Properties
$block
php
public string $block$input
php
public array $input$output
php
public array $output$priority
php
public int $priority$shape
php
public array $shape$unlockingIngredients
php
public array $unlockingIngredientsMethods
__construct()
php
public function __construct(array $shape, array $input, array $output, string $block, int $priority, array $unlockingIngredients = [])TODO: convert this to use promoted properties - avoiding them for now since it would break JsonMapper
jsonSerialize()
php
public function jsonSerialize() : array