BedrioxDOCUMENTATION
API CLASS

PlayerRegainHealthEvent

Cancellable, adjustable health restoration emitted before authoritative commit.

Bedriox\Api\Event\Player\PlayerRegainHealthEvent
classBedriox\Api\Event\Player

Public methods

__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Player\HealthRegainCause $cause, float $amount)

Typed public method.

amount(): float

Typed public method.

setAmount(float $amount): void

Typed public method.

View exact source ↗