BedrioxDOCUMENTATION
API CLASS

PlayerFoodLevelChangedEvent

Immutable notification emitted after authoritative nutrition state commits.

Bedriox\Api\Event\Player\PlayerFoodLevelChangedEvent
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.

View exact source ↗