Position
Public class in Bedriox\Api\World.
Bedriox\Api\World\Position
classBedriox\Api\World
Public methods
__construct(float $x, float $y, float $z, ?float $yaw = null, ?float $pitch = null, ?Bedriox\Api\World\World $world = null)Typed public method.
isResolved(): boolTyped public method.
resolve(Bedriox\Api\World\World $currentWorld, float $currentYaw, float $currentPitch): selfResolves omitted world and rotation values against an entity's current pose.
validateResolved(): voidVerifies a complete position before it enters authoritative world state.
validate(): voidVerifies bounded coordinates and any supplied rotation values.
Constants
HORIZONTAL_LIMIT
