Skip to content

PotionTypeRecipe ​

class · pocketmine\crafting\PotionTypeRecipe · source

Implements BrewingRecipe

Methods ​

__construct() ​

php
public function __construct(\pocketmine\crafting\RecipeIngredient $input, \pocketmine\crafting\RecipeIngredient $ingredient, \pocketmine\item\Item $output)

getIngredient() ​

php
public function getIngredient() : \pocketmine\crafting\RecipeIngredient

getInput() ​

php
public function getInput() : \pocketmine\crafting\RecipeIngredient

getOutput() ​

php
public function getOutput() : \pocketmine\item\Item

getResultFor() ​

php
public function getResultFor(\pocketmine\item\Item $input) : ?\pocketmine\item\Item

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.