> 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/going-further/good-practices.md). Agents can also search and read this documentation through its [MCP server](https://flintdl.gitbook.io/rastrum/~gitbook/mcp).

# 10. Good practices and common mistakes

**Do**

* Keep every `RastrumApi` call inside one small class, and catch `NoClassDefFoundError` when Rastrum is optional.
* Use one mod name, the same in every call.
* Give a short label the player recognises: the NPC's or the place's name.
* Have a text fallback for when `guide` returns `false`.
* `stop` your trail when your quest step no longer needs it.

**Avoid**

* Calling `guide` every tick. One call is enough; the trail updates itself as the player walks.
* Replacing the player's own trail without reason. Check `isGuiding` or wait for an action from them, like talking to your NPC.
* Bundling Rastrum's classes in your jar.
* Calling from a thread other than the player's world thread.
