PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\entity\FoodSource Interface Reference
+ Inheritance diagram for pocketmine\entity\FoodSource:
+ Collaboration diagram for pocketmine\entity\FoodSource:

Public Member Functions

 getAdditionalEffects ()
 
 getFoodRestore ()
 
 getSaturationRestore ()
 
 onConsume (Living $consumer)
 
 requiresHunger ()
 

Detailed Description

Interface implemented by objects that can be consumed by players, giving them food and saturation.

Definition at line 29 of file FoodSource.php.

Member Function Documentation

◆ getAdditionalEffects()

◆ onConsume()

pocketmine\entity\Consumable::onConsume ( Living  $consumer)
inherited

◆ requiresHunger()

pocketmine\entity\FoodSource::requiresHunger ( )

The documentation for this interface was generated from the following file: