Property | Type | Description | |
---|---|---|---|
$inventory |
Method | Description | |
---|---|---|
__construct ( pocketmine\level\format\FullChunk $chunk, |
||
close ( ) | ||
getInventory ( ) : |
||
getItem ( integer $index ) : |
This method should not be used by plugins, use the Inventory | |
getName ( ) : string | ||
getSize ( ) : integer | ||
getSpawnCompound ( ) | ||
hasName ( ) | ||
onUpdate ( ) | ||
saveNBT ( ) | ||
setItem ( integer $index, |
This method should not be used by plugins, use the Inventory | |
setName ( $str ) |
Method | Description | |
---|---|---|
checkFuel ( |
||
getSlotIndex ( $index ) : integer |
public __construct ( pocketmine\level\format\FullChunk $chunk, |
||
$chunk | pocketmine\level\format\FullChunk | |
$nbt |
public getInventory ( ) : |
||
return |