PlayerFoodLevelChangeEvent
Cancellable nutrition transition emitted before authoritative state changes.
Bedriox\Api\Event\Player\PlayerFoodLevelChangeEvent
classBedriox\Api\Event\Player
Public methods
__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Player\Nutrition $previous, Bedriox\Api\Player\Nutrition $nutrition, Bedriox\Api\Player\FoodLevelChangeCause $cause)Typed public method.
nutrition(): Bedriox\Api\Player\NutritionTyped public method.
setNutrition(Bedriox\Api\Player\Nutrition $nutrition): voidTyped public method.
