CraftRecipeOptionalStackRequestAction
extends ItemStackRequestAction
in package
Uses
GetTypeIdFromConstTrait
Renames an item in an anvil, or map on a cartography table.
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_RECIPE_OPTIONAL
- $filterStringIndex : int
- $recipeId : int
- __construct() : mixed
- getFilterStringIndex() : int
- getRecipeId() : int
- getTypeId() : int
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_RECIPE_OPTIONAL
Properties
$filterStringIndex
private
int
$filterStringIndex
$recipeId
private
int
$recipeId
Methods
__construct()
public
__construct(int $type, int $filterStringIndex) : mixed
Parameters
- $type : int
- $filterStringIndex : int
Return values
mixed —getFilterStringIndex()
public
getFilterStringIndex() : int
Return values
int —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