Property | Type | Description | |
---|---|---|---|
$handlerList |
Method | Description | |
---|---|---|
__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 ( ) : |
||
return |
public setAdditionalEffects ( array $additionalEffects ) | ||
$additionalEffects | array |
public setSaturationRestore ( float $saturationRestore ) | ||
$saturationRestore | float |