The SpawnEntityOptions interface in @minecraft/server.
Interface in @minecraft/server
import type { SpawnEntityOptions } from '@minecraft/server';Properties
Section titled “Properties”initialPersistence
Section titled “initialPersistence”optional
initialPersistence?: boolean;initialRotation
Section titled “initialRotation”optional
initialRotation?: number;spawnEvent
Section titled “spawnEvent”optional
spawnEvent?: string;