public registerRecipe ( pocketmine\inventory\Recipe $recipe ) | ||
$recipe | pocketmine\inventory\Recipe |
public function addRecipe(Recipe $recipe) { $this->craftingManager->registerRecipe($recipe); }
public function addRecipe(Recipe $recipe) { $this->craftingManager->registerRecipe($recipe); $this->generateRecipeList(); }