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, ?Closure $setMotion = null, ?Closure $playEmote = null, ?Closure $setRotation = null, ?Closure $setNameTag = null, ?Closure $setNameTagVisible = null, ?Closure $setImmobile = null, ?Closure $setInvisible = null, ?Closure $setScale = null, ?Closure $setGravityEnabled = 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.
setMotion(Bedriox\Api\Entity\Value\Motion $motion): voidTyped public method.
playEmote(Bedriox\Api\Entity\Value\EmoteId $emote): voidTyped public method.
setRotation(float $yaw, float $pitch): voidTyped public method.
setNameTag(string $nameTag): voidTyped public method.
setNameTagVisible(bool $visible): voidTyped public method.
setImmobile(bool $immobile): voidTyped public method.
setInvisible(bool $invisible): voidTyped public method.
setScale(float $scale): voidTyped public method.
setGravityEnabled(bool $enabled): voidTyped public method.
