PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe:

Public Member Functions

 __construct (int $typeId, private string $recipeId, private RecipeIngredient $template, private RecipeIngredient $input, private RecipeIngredient $addition, private ItemStack $output, private string $blockName, private int $recipeNetId)
 
 encode (PacketSerializer $out)
 
 getAddition ()
 
 getBlockName ()
 
 getInput ()
 
 getOutput ()
 
 getRecipeId ()
 
 getRecipeNetId ()
 
 getTemplate ()
 
 getTypeId ()
 

Static Public Member Functions

static decode (int $typeId, PacketSerializer $in)
 

Detailed Description

Definition at line 20 of file SmithingTransformRecipe.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::__construct ( int  $typeId,
private string  $recipeId,
private RecipeIngredient  $template,
private RecipeIngredient  $input,
private RecipeIngredient  $addition,
private ItemStack  $output,
private string  $blockName,
private int  $recipeNetId 
)

Definition at line 22 of file SmithingTransformRecipe.php.

Member Function Documentation

◆ decode()

static pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::decode ( int  $typeId,
PacketSerializer  $in 
)
static

Definition at line 49 of file SmithingTransformRecipe.php.

◆ encode()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::encode ( PacketSerializer  $out)

◆ getAddition()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getAddition ( )

Definition at line 41 of file SmithingTransformRecipe.php.

◆ getBlockName()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getBlockName ( )

Definition at line 45 of file SmithingTransformRecipe.php.

◆ getInput()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getInput ( )

Definition at line 39 of file SmithingTransformRecipe.php.

◆ getOutput()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getOutput ( )

Definition at line 43 of file SmithingTransformRecipe.php.

◆ getRecipeId()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getRecipeId ( )

Definition at line 35 of file SmithingTransformRecipe.php.

◆ getRecipeNetId()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getRecipeNetId ( )

Definition at line 47 of file SmithingTransformRecipe.php.

◆ getTemplate()

pocketmine\network\mcpe\protocol\types\recipe\SmithingTransformRecipe::getTemplate ( )

Definition at line 37 of file SmithingTransformRecipe.php.

◆ getTypeId()

pocketmine\network\mcpe\protocol\types\recipe\RecipeWithTypeId::getTypeId ( )
finalinherited

Definition at line 24 of file RecipeWithTypeId.php.


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