Property | Type | Description | |
---|---|---|---|
$brewingRecipes | |||
$furnaceRecipes | |||
$recipes | pocketmine\inventory\Recipe[] |
Property | Type | Description | |
---|---|---|---|
$recipeLookup | pocketmine\inventory\Recipe[][] |
Method | 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 ( |
Method | Description | |
---|---|---|
registerArmor ( ) | ||
registerBrewingStand ( ) | ||
registerDyes ( ) | ||
registerFood ( ) | ||
registerFurnace ( ) | ||
registerIngots ( ) | ||
registerPotions ( ) | ||
registerTools ( ) | ||
registerWeapons ( ) |
Method | Description | |
---|---|---|
createOneIngedientRecipe ( $recipeshape, $resultitem, $resultitemmeta, $resultitemamound, $ingedienttype, $ingredientmeta, $ingredientname, $inventoryType = "" ) | ||
sortAndAddRecipesArray ( &$recipes ) |
public getFurnaceRecipes ( ) : |
||
return |
public getRecipe ( |
||
$id | ||
return | pocketmine\inventory\Recipe |
public getRecipes ( ) : pocketmine\inventory\Recipe[] | ||
return | pocketmine\inventory\Recipe[] |
public getRecipesByResult ( |
||
$item |
public matchBrewingRecipe ( |
||
$input | ||
$potion | ||
return |
public matchFurnaceRecipe ( |
||
$input | ||
return |
public matchRecipe ( |
||
$recipe | ||
return | 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 | ||
return |
public FurnaceRecipe[],pocketmine\inventory $furnaceRecipes | ||
return |
protected Recipe[][],pocketmine\inventory $recipeLookup | ||
return | pocketmine\inventory\Recipe[][] |