> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nmentities.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Spawning at Coordinates

Spawns a registered mob at exact coordinates in a named world. Unlike [`/nme spawn`](spawn) it needs no player, so it works from the console, a command block, or any plugin that runs commands as console.

## Usage

```text theme={null}
/nme spawnat <mob> <world> <x> <y> <z> [scale]
```

**Alias:** `sa` **Permission:** `nmentities.spawnat` **Player-only:** no

## Arguments

| Argument | Required | Description                                                                |
| :------- | :------- | :------------------------------------------------------------------------- |
| `mob`    | ✅        | A registered mob id. Autocompletes to registered mobs only.                |
| `world`  | ✅        | The world to spawn in, by name.                                            |
| `x`      | ✅        | X coordinate. Absolute — there is no sender to be relative to.             |
| `y`      | ✅        | Y coordinate.                                                              |
| `z`      | ✅        | Z coordinate.                                                              |
| `scale`  | ❌        | Size multiplier from `0.0625` to `16.0`. Multiplies the mob's own `scale`. |

## Examples

```text theme={null}
/nme spawnat toast_king world 128 64 -320
/nme spawnat toast world_nether 12 40 88 1.5
```

## Why it exists

`/nme spawn` answers "put one in front of me" and needs a player. This one answers "put one exactly here" and names its world outright — which is what lets a custom item from Nexo or ItemsAdder, a command block, or a scripting plugin spawn an NMEntities mob without either side knowing the other exists.

## Notes

* The chunk is loaded before spawning. Coordinates given outright are routinely somewhere nobody is standing, and an entity cannot be added to an unloaded chunk — without this the command would silently do nothing exactly where scripted spawns tend to point.
* On Folia the spawn runs on the region that owns those coordinates, so it works from the console, which belongs to no region.
* The command confirms with the world and block coordinates it actually spawned at.
* Same guards as `/nme spawn`: an unknown or disabled mob id, or a mob whose model isn't loaded, is reported rather than half-spawned.
