BedrioxDOCUMENTATION
API CLASS

PlayerAttackEvent

Public class in Bedriox\Api\Event\Player.

Bedriox\Api\Event\Player\PlayerAttackEvent
classBedriox\Api\Event\Player

Public methods

__construct(Bedriox\Api\Player\Player $attacker, Bedriox\Api\Player\Player $target, float $damage)

Typed public method.

damage(): float

Typed public method.

setDamage(float $damage): void

Typed public method.

View exact source ↗