BedrioxDOCUMENTATION
API CLASS

PlayerActions

Public class in Bedriox\Api\Player.

Bedriox\Api\Player\PlayerActions
classBedriox\Api\Player

Public methods

__construct(Closure $teleport, Closure $setGameMode, Closure $damage, ?Closure $vehicle = null, ?Closure $mount = null, ?Closure $dismount = null)

Typed public method.

static unavailable(): self

Typed public method.

teleport(Bedriox\Api\World\Position $position): void

Typed public method.

setGameMode(Bedriox\Api\Player\GameMode $gameMode): void

Typed public method.

damage(float $amount): void

Typed public method.

vehicle(): ?Bedriox\Api\Entity\Entity

Typed public method.

mount(Bedriox\Api\Entity\Entity $vehicle, Bedriox\Api\Entity\Value\MountSeat $seat): void

Typed public method.

dismount(): void

Typed public method.

View exact source ↗