Definition at line 35 of file CraftingManager.php.
◆ __construct()
pocketmine\crafting\CraftingManager::__construct |
( |
| ) |
|
◆ getCraftingRecipeFromIndex()
pocketmine\crafting\CraftingManager::getCraftingRecipeFromIndex |
( |
int | $index | ) |
|
◆ getCraftingRecipeIndex()
pocketmine\crafting\CraftingManager::getCraftingRecipeIndex |
( |
| ) |
|
- Returns
- CraftingRecipe[] @phpstan-return array<int, CraftingRecipe>
Definition at line 172 of file CraftingManager.php.
◆ getFurnaceRecipeManager()
pocketmine\crafting\CraftingManager::getFurnaceRecipeManager |
( |
FurnaceType | $furnaceType | ) |
|
◆ getPotionContainerChangeRecipes()
pocketmine\crafting\CraftingManager::getPotionContainerChangeRecipes |
( |
| ) |
|
- Returns
- PotionContainerChangeRecipe[] @phpstan-return list<PotionContainerChangeRecipe>
Definition at line 196 of file CraftingManager.php.
◆ getPotionTypeRecipes()
pocketmine\crafting\CraftingManager::getPotionTypeRecipes |
( |
| ) |
|
- Returns
- PotionTypeRecipe[] @phpstan-return list<PotionTypeRecipe>
Definition at line 188 of file CraftingManager.php.
◆ getRecipeRegisteredCallbacks()
pocketmine\crafting\CraftingManager::getRecipeRegisteredCallbacks |
( |
| ) |
|
◆ getShapedRecipes()
pocketmine\crafting\CraftingManager::getShapedRecipes |
( |
| ) |
|
- Returns
- ShapedRecipe[][] @phpstan-return array<string, list<ShapedRecipe>>
Definition at line 164 of file CraftingManager.php.
◆ getShapelessRecipes()
pocketmine\crafting\CraftingManager::getShapelessRecipes |
( |
| ) |
|
- Returns
- ShapelessRecipe[][] @phpstan-return array<string, list<ShapelessRecipe>>
Definition at line 156 of file CraftingManager.php.
◆ matchBrewingRecipe()
pocketmine\crafting\CraftingManager::matchBrewingRecipe |
( |
Item | $input, |
|
|
Item | $ingredient ) |
◆ matchRecipe()
pocketmine\crafting\CraftingManager::matchRecipe |
( |
CraftingGrid | $grid, |
|
|
array | $outputs ) |
◆ matchRecipeByOutputs()
pocketmine\crafting\CraftingManager::matchRecipeByOutputs |
( |
array | $outputs | ) |
|
- Parameters
-
- Returns
- CraftingRecipe[]|\Generator @phpstan-return \Generator<int, CraftingRecipe, void, void>
Definition at line 267 of file CraftingManager.php.
◆ registerPotionContainerChangeRecipe()
◆ registerPotionTypeRecipe()
pocketmine\crafting\CraftingManager::registerPotionTypeRecipe |
( |
PotionTypeRecipe | $recipe | ) |
|
◆ registerShapedRecipe()
pocketmine\crafting\CraftingManager::registerShapedRecipe |
( |
ShapedRecipe | $recipe | ) |
|
◆ registerShapelessRecipe()
pocketmine\crafting\CraftingManager::registerShapelessRecipe |
( |
ShapelessRecipe | $recipe | ) |
|
◆ sort()
static pocketmine\crafting\CraftingManager::sort |
( |
Item | $i1, |
|
|
Item | $i2 ) |
|
static |
Function used to arrange Shapeless Recipe ingredient lists into a consistent order.
Definition at line 104 of file CraftingManager.php.
◆ $furnaceRecipeManagers
array pocketmine\crafting\CraftingManager::$furnaceRecipeManagers = [] |
|
protected |
◆ $potionContainerChangeRecipes
array pocketmine\crafting\CraftingManager::$potionContainerChangeRecipes = [] |
|
protected |
◆ $potionTypeRecipes
array pocketmine\crafting\CraftingManager::$potionTypeRecipes = [] |
|
protected |
◆ $shapedRecipes
array pocketmine\crafting\CraftingManager::$shapedRecipes = [] |
|
protected |
◆ $shapelessRecipes
array pocketmine\crafting\CraftingManager::$shapelessRecipes = [] |
|
protected |
The documentation for this class was generated from the following file: