ShapelessRecipe
Implements CraftingRecipe
Methods
__construct()
php
public function __construct(array $ingredients, array $results, \pocketmine\crafting\ShapelessRecipeType $type)getIngredientCount()
php
public function getIngredientCount() : intgetIngredientList()
php
public function getIngredientList() : arraygetResults()
php
public function getResults() : arraygetResultsFor()
php
public function getResultsFor(\pocketmine\crafting\CraftingGrid $grid) : arraygetType()
php
public function getType() : \pocketmine\crafting\ShapelessRecipeTypematchesCraftingGrid()
php
public function matchesCraftingGrid(\pocketmine\crafting\CraftingGrid $grid) : bool