> For the complete documentation index, see [llms.txt](https://flintdl.gitbook.io/rastrum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flintdl.gitbook.io/rastrum/using-the-api/how-every-call-behaves.md). Agents can also search and read this documentation through its [MCP server](https://flintdl.gitbook.io/rastrum/~gitbook/mcp).

# 5. How every call behaves

## The mod name

Every call takes your mod's name first, from 1 to 64 characters. Use the same name everywhere. It marks the trails you start, so `stop` and `isGuiding` only see yours. A blank or too long name makes `guide` return `false` and the other calls do nothing.

## Threads

Call the API on the player's **world thread**, the one your interaction or event already runs on. From anywhere else, use `world.execute(() -> ...)`.

## Results

Nothing throws. `guide` says `true` or `false`; `stop` does nothing when there is nothing of yours to stop; `isGuiding` says `false` when in doubt.

| `guide` returns `false` when                                 |                                 |
| ------------------------------------------------------------ | ------------------------------- |
| Rastrum is not running (still starting, or shut down)        | `available()` is `false`        |
| The mod name is blank or longer than 64                      |                                 |
| The player is not in a world                                 | disconnected, or between worlds |
| A coordinate is not a finite number, or is beyond 10,000,000 |                                 |

## The name you show

The `label` goes into the player's notice. Rastrum turns control characters into spaces, trims it and cuts it at 48 characters. Pass `null` or `""` to show the coordinates instead.

## Guarantees and limits

* One trail per player per world. A new `guide`, from you, another mod or the player, replaces the current one.
* Trails live in memory. After a server restart, call `guide` again if the player still needs it.
* Arrival is measured flat (x and z). `y` sets where the sparks end, not when the player arrives.
