World / Server
paper/spawn_entity
Spawn Entity
Spawns an entity at a given location.
Note: Entity type names are Bukkit EntityType enum values (e.g. ZOMBIE, CREEPER, VILLAGER).
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
location |
location | Spawn location. | |
entityType |
string | ✓ | Entity type name (e.g. ZOMBIE). |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after spawning. |
entity |
entity | The spawned entity. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
entityType |
string | "ZOMBIE" |
Entity Type |