Character
constCharacter:object
Defined in: client/api.d.ts:7105
Character entities as this client shows them.
Type Declaration
Section titled “Type Declaration”pose()
Section titled “pose()”pose(
networkId): {mode:"idle"|"path";moving:boolean;paused:boolean;x:number;y:number;yaw:number;z:number; } |null
Where the character stands or walks on this client right now: x/y/z a player’s origin, as the server’s position is, z on this client’s floor. Null when the entity is not streamed in.
Parameters
Section titled “Parameters”networkId
Section titled “networkId”number
The Character entity’s network id (the server’s character.id).
Returns
Section titled “Returns”{ mode: "idle" | "path"; moving: boolean; paused: boolean; x: number; y: number; yaw: number; z: number; } | null