Свойство | Тип | Описание | |
---|---|---|---|
$inventory | |||
$isLocked | boolean | ||
$isPowered | boolean |
Метод | Описание | |
---|---|---|
__construct ( pocketmine\level\format\FullChunk $chunk, |
||
activate ( ) | ||
canUpdate ( ) | ||
checkLock ( string $key ) | ||
close ( ) | ||
deactivate ( ) | ||
getInventory ( ) : |
||
getItem ( integer $index ) : |
This method should not be used by plugins, use the Inventory | |
getName ( ) : string | ||
getSize ( ) : integer | ||
getSpawnCompound ( ) | ||
hasLock ( ) | ||
hasName ( ) | ||
onUpdate ( ) | ||
resetCooldownTicks ( ) | ||
saveNBT ( ) | ||
setItem ( integer $index, |
This method should not be used by plugins, use the Inventory | |
setLock ( string $itemName = "" ) | ||
setName ( $str ) |
Метод | Описание | |
---|---|---|
getSlotIndex ( $index ) : integer |
public __construct ( pocketmine\level\format\FullChunk $chunk, |
||
$chunk | pocketmine\level\format\FullChunk | |
$nbt |
public getInventory ( ) : |
||
Результат |
protected getSlotIndex ( $index ) : integer | ||
$index | ||
Результат | integer |
protected HopperInventory,pocketmine\inventory $inventory | ||
Результат |