Spawn Entity (Section) — Skript

Addon: Skript · Category: Section

Syntax

(summon|spawn) [:non ticking] [:navigable|:living] %entitytypes% [%directions% %points%] [in [(world|instance)[s]] %instances%] [:sync]

Description

Spawns one or more entities at a location. If an entity is non-ticking, some features like gravity may not work even if it's set to true.

Examples

spawn living zombie at player's position:
    before spawn:
        set name of entity to "Custom Zombie"
    after spawn:
        broadcast "Zombie spawned!"

View source