Consumable
Interface implemented by objects that can be consumed by mobs.
Methods
getAdditionalEffects()
php
public function getAdditionalEffects() : arrayonConsume()
php
public function onConsume(\pocketmine\entity\Living $consumer) : voidCalled when this Consumable is consumed by mob, after standard resulting effects have been applied.
