# SpatialPosition

Immutable Bukkit world name and block coordinates; safe to use off the server thread.

Source: https://socketsvc.vercel.app/api/shared/SpatialPosition
<Callout title="Generated from source">
  Record `com.socketsvc.api.SpatialPosition` — generated from [SpatialPosition.java](https://github.com/HippoDev03/SocketSVC/blob/main/common/core/src/main/java/com/socketsvc/api/SpatialPosition.java). Edit the Javadoc in the Java source, then run `pnpm gen:api`.
</Callout>

```java
package com.socketsvc.api;

public record SpatialPosition(String world, double x, double y, double z) { ... }
```

Immutable Bukkit world name and block coordinates; safe to use off the server thread.

## Components

| Component | Description |
| --- | --- |
| `String world` | — |
| `double x` | — |
| `double y` | — |
| `double z` | — |