PHP Class pocketmine\event\entity\EntityEatBlockEvent

Inheritance: extends EntityEatEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Entity $entity, pocketmine\item\FoodSource $foodSource )
getResidue ( ) : Block
setResidue ( $residue )

Method Details

__construct() public méthode

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

getResidue() public méthode

public getResidue ( ) : Block
Résultat pocketmine\block\Block

setResidue() public méthode

public setResidue ( $residue )