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(): selfTyped public method.
teleport(Bedriox\Api\World\Position $position): voidTyped public method.
setGameMode(Bedriox\Api\Player\GameMode $gameMode): voidTyped public method.
damage(float $amount): voidTyped public method.
vehicle(): ?Bedriox\Api\Entity\EntityTyped public method.
mount(Bedriox\Api\Entity\Entity $vehicle, Bedriox\Api\Entity\Value\MountSeat $seat): voidTyped public method.
dismount(): voidTyped public method.
