====== minecraft:spawn_entity ====== The ''minecraft:spawn_entity'' action spawns an entity at the specified position. This action is successful if the entity was spawned. ===== Fields ===== ^ Name ^ Description ^ Type ^ Default Value ^ | ''position'' | The position to target. | An [[actions:action_contexts#parameters|action context parameter]] | | | ''entity'' | The entity to spawn. | An [[entities:entity_initializers:start|entity initializer]] | | ===== Example ===== { "type": "minecraft:spawn_entity", "position": "target", "entity": { "type": "minecraft:tnt" } }