Свойство | Тип | Описание | |
---|---|---|---|
$handlerList |
Метод | Описание | |
---|---|---|
__construct ( |
||
getAdditionalEffects ( ) : |
||
getFoodRestore ( ) | ||
getFoodSource ( ) | ||
getResidue ( ) | ||
getSaturationRestore ( ) | ||
setAdditionalEffects ( array $additionalEffects ) | ||
setFoodRestore ( integer $foodRestore ) | ||
setResidue ( $residue ) | ||
setSaturationRestore ( float $saturationRestore ) |
public __construct ( |
||
$entity | ||
$foodSource | pocketmine\item\FoodSource |
public getAdditionalEffects ( ) : |
||
Результат |
public setAdditionalEffects ( array $additionalEffects ) | ||
$additionalEffects | array |
public setFoodRestore ( integer $foodRestore ) | ||
$foodRestore | integer |
public setSaturationRestore ( float $saturationRestore ) | ||
$saturationRestore | float |