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

NameTypeOptionalDescription
exec exec Incoming execution.
location location Spawn location.
entityType string Entity type name (e.g. ZOMBIE).

Outputs

NameTypeDescription
exec exec Continues after spawning.
entity entity The spawned entity.

Properties

KeyTypeDefaultDescription
entityType string "ZOMBIE" Entity Type