Свойство | Type | Description | |
---|---|---|---|
$brewingRecipes | |||
$furnaceRecipes | |||
$recipes | pocketmine\inventory\Recipe[] |
Свойство | Type | Description | |
---|---|---|---|
$recipeLookup | pocketmine\inventory\Recipe[][] |
Méthode | Description | |
---|---|---|
__construct ( boolean $useJson = false ) | ||
getFurnaceRecipes ( ) : |
||
getRecipe ( |
||
getRecipes ( ) : pocketmine\inventory\Recipe[] | ||
getRecipesByResult ( |
||
matchBrewingRecipe ( |
||
matchFurnaceRecipe ( |
||
matchRecipe ( |
||
registerBrewingRecipe ( |
||
registerFurnaceRecipe ( |
||
registerRecipe ( pocketmine\inventory\Recipe $recipe ) | ||
registerShapedRecipe ( |
||
registerShapelessRecipe ( |
||
sort ( |
Méthode | Description | |
---|---|---|
registerArmor ( ) | ||
registerBrewingStand ( ) | ||
registerDyes ( ) | ||
registerFood ( ) | ||
registerFurnace ( ) | ||
registerIngots ( ) | ||
registerPotions ( ) | ||
registerTools ( ) | ||
registerWeapons ( ) |
Méthode | Description | |
---|---|---|
createOneIngedientRecipe ( $recipeshape, $resultitem, $resultitemmeta, $resultitemamound, $ingedienttype, $ingredientmeta, $ingredientname, $inventoryType = "" ) | ||
sortAndAddRecipesArray ( &$recipes ) |
public getFurnaceRecipes ( ) : |
||
Résultat |
public getRecipe ( |
||
$id | ||
Résultat | pocketmine\inventory\Recipe |
public getRecipes ( ) : pocketmine\inventory\Recipe[] | ||
Résultat | pocketmine\inventory\Recipe[] |
public getRecipesByResult ( |
||
$item |
public matchBrewingRecipe ( |
||
$input | ||
$potion | ||
Résultat |
public matchFurnaceRecipe ( |
||
$input | ||
Résultat |
public matchRecipe ( |
||
$recipe | ||
Résultat | boolean |
public registerBrewingRecipe ( |
||
$recipe |
public registerFurnaceRecipe ( |
||
$recipe |
public registerRecipe ( pocketmine\inventory\Recipe $recipe ) | ||
$recipe | pocketmine\inventory\Recipe |
public registerShapedRecipe ( |
||
$recipe |
public registerShapelessRecipe ( |
||
$recipe |
public sort ( |
||
$i1 | ||
$i2 |
public BrewingRecipe[],pocketmine\inventory $brewingRecipes | ||
Résultat |
public FurnaceRecipe[],pocketmine\inventory $furnaceRecipes | ||
Résultat |
protected Recipe[][],pocketmine\inventory $recipeLookup | ||
Résultat | pocketmine\inventory\Recipe[][] |