PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
pocketmine\crafting\PotionContainerChangeRecipe Class Reference
+ Inheritance diagram for pocketmine\crafting\PotionContainerChangeRecipe:
+ Collaboration diagram for pocketmine\crafting\PotionContainerChangeRecipe:

Public Member Functions

 __construct (private string $inputItemId, private RecipeIngredient $ingredient, private string $outputItemId)
 
 getIngredient ()
 
 getInputItemId ()
 
 getOutputItemId ()
 
 getResultFor (Item $input)
 

Detailed Description

Definition at line 30 of file src/crafting/PotionContainerChangeRecipe.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\crafting\PotionContainerChangeRecipe::__construct ( private string  $inputItemId,
private RecipeIngredient  $ingredient,
private string  $outputItemId 
)

Definition at line 32 of file src/crafting/PotionContainerChangeRecipe.php.

Member Function Documentation

◆ getIngredient()

pocketmine\crafting\PotionContainerChangeRecipe::getIngredient ( )

Definition at line 42 of file src/crafting/PotionContainerChangeRecipe.php.

◆ getInputItemId()

pocketmine\crafting\PotionContainerChangeRecipe::getInputItemId ( )

Definition at line 38 of file src/crafting/PotionContainerChangeRecipe.php.

◆ getOutputItemId()

pocketmine\crafting\PotionContainerChangeRecipe::getOutputItemId ( )

Definition at line 46 of file src/crafting/PotionContainerChangeRecipe.php.

◆ getResultFor()

pocketmine\crafting\PotionContainerChangeRecipe::getResultFor ( Item  $input)

The documentation for this class was generated from the following file: