Property | Type | Description | |
---|---|---|---|
$doubleInventory | |||
$inventory |
Method | Description | |
---|---|---|
__construct ( pocketmine\level\format\FullChunk $chunk, |
||
close ( ) | ||
getDoubleInventory ( ) : |
||
getInventory ( ) : |
||
getItem ( integer $index ) : |
This method should not be used by plugins, use the Inventory | |
getName ( ) : string | ||
getPair ( ) : |
||
getRealInventory ( ) : |
||
getSize ( ) : integer | ||
getSpawnCompound ( ) | ||
hasName ( ) | ||
isPaired ( ) | ||
pairWith ( |
||
saveNBT ( ) | ||
setItem ( integer $index, |
This method should not be used by plugins, use the Inventory | |
setName ( $str ) | ||
unpair ( ) |
Method | Description | |
---|---|---|
checkPairing ( ) | ||
getSlotIndex ( $index ) : integer |
Method | Description | |
---|---|---|
createPair ( |
public __construct ( pocketmine\level\format\FullChunk $chunk, |
||
$chunk | pocketmine\level\format\FullChunk | |
$nbt |
public getDoubleInventory ( ) : |
||
return |
public getInventory ( ) : |
||
return |
public getRealInventory ( ) : |
||
return |
protected DoubleChestInventory,pocketmine\inventory $doubleInventory | ||
return |