Action spawnEntity

Description
Spawns a new Entity from the library.

Properties
Required Properties:

name: String, representing a name of an entity. The name of the entity to spawn.

x: Integer. The x location to spawn in. If relative is defined, it is relative to the target specified. Otherwise, it is absolute coordinates.

y: Integer. The y location to spawn in. If relative is defined, it is relative to the target specified. Otherwise, it is absolute coordinates.

Optional Properties:

relative: String, representing either an entity ID, 'player', or 'true'. If an ID, it spawns it relative to that entity. If 'player', it spawns relative to the player. If 'true', it spawns relative to the parent entity of the Action.

Properties Set:

None.