PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe:

Public Member Functions

 __construct (int $typeId, private string $recipeId, private array $inputs, private array $outputs, private UuidInterface $uuid, private string $blockName, private int $priority, private RecipeUnlockingRequirement $unlockingRequirement, private int $recipeNetId)
 
 encode (ByteBufferWriter $out)
 
 getBlockName ()
 
 getInputs ()
 
 getOutputs ()
 
 getPriority ()
 
 getRecipeId ()
 
 getRecipeNetId ()
 
 getTypeId ()
 
 getUnlockingRequirement ()
 
 getUuid ()
 

Static Public Member Functions

static decode (int $recipeType, ByteBufferReader $in)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::__construct ( int $typeId,
private string $recipeId,
private array $inputs,
private array $outputs,
private UuidInterface $uuid,
private string $blockName,
private int $priority,
private RecipeUnlockingRequirement $unlockingRequirement,
private int $recipeNetId )
Parameters
RecipeIngredient[]$inputs
ItemStack[]$outputs@phpstan-param list<RecipeIngredient> $inputs @phpstan-param list<ItemStack> $outputs

Definition at line 32 of file vendor/pocketmine/bedrock-protocol/src/types/recipe/ShapelessRecipe.php.

Member Function Documentation

◆ decode()

static pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::decode ( int $recipeType,
ByteBufferReader $in )
static

◆ encode()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::encode ( ByteBufferWriter $out)

◆ getBlockName()

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

◆ getInputs()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::getInputs ( )
Returns
RecipeIngredient[] @phpstan-return list<RecipeIngredient>

Definition at line 54 of file vendor/pocketmine/bedrock-protocol/src/types/recipe/ShapelessRecipe.php.

◆ getOutputs()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::getOutputs ( )
Returns
ItemStack[] @phpstan-return list<ItemStack>

Definition at line 62 of file vendor/pocketmine/bedrock-protocol/src/types/recipe/ShapelessRecipe.php.

◆ getPriority()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::getPriority ( )

◆ getRecipeId()

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

◆ getRecipeNetId()

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

◆ getTypeId()

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

Definition at line 24 of file RecipeWithTypeId.php.

◆ getUnlockingRequirement()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::getUnlockingRequirement ( )

◆ getUuid()

pocketmine\network\mcpe\protocol\types\recipe\ShapelessRecipe::getUuid ( )

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