PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper:

Public Member Functions

 __construct (private int $stackId, private ItemStack $itemStack)
 
 getItemStack ()
 
 getStackId ()
 

Static Public Member Functions

static legacy (ItemStack $itemStack)
 

Detailed Description

Definition at line 17 of file ItemStackWrapper.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::__construct ( private int  $stackId,
private ItemStack  $itemStack 
)

Definition at line 18 of file ItemStackWrapper.php.

Member Function Documentation

◆ getItemStack()

pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::getItemStack ( )

Definition at line 29 of file ItemStackWrapper.php.

◆ getStackId()

pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::getStackId ( )

Definition at line 27 of file ItemStackWrapper.php.

◆ legacy()

static pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::legacy ( ItemStack  $itemStack)
static

Definition at line 23 of file ItemStackWrapper.php.


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