PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
__construct (array $input, array $output, string $block, int $priority, array $unlockingIngredients=[]) | |
jsonSerialize () | |
Public Attributes | |
string | $block |
array | $input |
array | $output |
int | $priority |
array | $unlockingIngredients = [] |
Definition at line 28 of file ShapelessRecipeData.php.
pocketmine\crafting\json\ShapelessRecipeData::__construct | ( | array | $input, |
array | $output, | ||
string | $block, | ||
int | $priority, | ||
array | $unlockingIngredients = [] ) |
RecipeIngredientData[] | $input | |
ItemStackData[] | $output | |
RecipeIngredientData[] | $unlockingIngredients |
@phpstan-param list<RecipeIngredientData> $input @phpstan-param list<ItemStackData> $output @phpstan-param list<RecipeIngredientData> $unlockingIngredients
Definition at line 62 of file ShapelessRecipeData.php.
References pocketmine\crafting\json\ShapelessRecipeData\$block, and pocketmine\crafting\json\ShapelessRecipeData\$priority.
pocketmine\crafting\json\ShapelessRecipeData::jsonSerialize | ( | ) |
Definition at line 73 of file ShapelessRecipeData.php.
string pocketmine\crafting\json\ShapelessRecipeData::$block |
@required
Definition at line 45 of file ShapelessRecipeData.php.
Referenced by pocketmine\crafting\json\ShapelessRecipeData\__construct().
array pocketmine\crafting\json\ShapelessRecipeData::$input |
Definition at line 35 of file ShapelessRecipeData.php.
array pocketmine\crafting\json\ShapelessRecipeData::$output |
Definition at line 42 of file ShapelessRecipeData.php.
int pocketmine\crafting\json\ShapelessRecipeData::$priority |
@required
Definition at line 48 of file ShapelessRecipeData.php.
Referenced by pocketmine\crafting\json\ShapelessRecipeData\__construct().
array pocketmine\crafting\json\ShapelessRecipeData::$unlockingIngredients = [] |
Definition at line 51 of file ShapelessRecipeData.php.