CraftRecipeStackRequestAction
extends ItemStackRequestAction
in package
Uses
GetTypeIdFromConstTrait
Tells that the current transaction crafted the specified recipe.
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_RECIPE
- $recipeId : int
- __construct() : mixed
- getRecipeId() : int
- getTypeId() : int
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_RECIPE
Properties
$recipeId
private
int
$recipeId
Methods
__construct()
public
final __construct(int $recipeId) : mixed
Parameters
- $recipeId : int
Return values
mixed —getRecipeId()
public
getRecipeId() : int
Return values
int —getTypeId()
public
abstract getTypeId() : int
Return values
int —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer