> ## 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 an Entity

Spawns a registered mob: its base entity wrapped with its model (if it has one), with all configured stats and effects applied.

## Usage

```text theme={null}
/nme spawn <mob> [scale] [location]
```

**Alias:** `s` **Permission:** `nmentities.spawn` **Player-only:** yes

## Arguments

| Argument   | Required | Description                                                                      |
| :--------- | :------- | :------------------------------------------------------------------------------- |
| `mob`      | ✅        | A registered mob id. Autocompletes to registered mobs only.                      |
| `scale`    | ❌        | Size multiplier from `0.0625` to `16.0`. Multiplies the mob's own `scale` value. |
| `location` | ❌        | Where to spawn. Defaults to your position.                                       |

## Examples

```text theme={null}
/nme spawn toast
/nme spawn toast_king 2.0
/nme spawn toast 1.0 ~ ~ ~
```

## Notes

* Only registered mob ids can be spawned. A raw model with no mob entry never appears in autocomplete.
* Spawning fires the mob's `#onSpawn` effects immediately.
* Model-less mobs spawn normally: stats and effects all apply. For those, `scale` sets the vanilla scale attribute (living bases only) instead of scaling a model; the command's `scale` multiplier still applies on top.
