PHP Class pocketmine\event\entity\EntityEatEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: ClearSkyTeam/ClearSky Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Méthodes publiques

Méthode Description
__construct ( Entity $entity, pocketmine\item\FoodSource $foodSource )
getAdditionalEffects ( ) : Effect[]
getFoodRestore ( )
getFoodSource ( )
getResidue ( )
getSaturationRestore ( )
setAdditionalEffects ( array $additionalEffects )
setFoodRestore ( integer $foodRestore )
setResidue ( $residue )
setSaturationRestore ( float $saturationRestore )

Method Details

__construct() public méthode

public __construct ( Entity $entity, pocketmine\item\FoodSource $foodSource )
$entity pocketmine\entity\Entity
$foodSource pocketmine\item\FoodSource

getAdditionalEffects() public méthode

public getAdditionalEffects ( ) : Effect[]
Résultat pocketmine\entity\Effect[]

getFoodRestore() public méthode

public getFoodRestore ( )

getFoodSource() public méthode

public getFoodSource ( )

getResidue() public méthode

public getResidue ( )

getSaturationRestore() public méthode

setAdditionalEffects() public méthode

public setAdditionalEffects ( array $additionalEffects )
$additionalEffects array

setFoodRestore() public méthode

public setFoodRestore ( integer $foodRestore )
$foodRestore integer

setResidue() public méthode

public setResidue ( $residue )

setSaturationRestore() public méthode

public setSaturationRestore ( float $saturationRestore )
$saturationRestore float

Property Details

$handlerList public_oe static_oe property

public static $handlerList