The minecraft:spawn_entity
action spawns an entity at the specified position.
This action is successful if the entity was spawned.
Name | Description | Type | Default Value |
---|---|---|---|
position | The position to target. | An action context parameter | |
entity | The entity to spawn. | An entity initializer |
{ "type": "minecraft:spawn_entity", "position": "target", "entity": { "type": "minecraft:tnt" } }