actions:action_types:spawn_entity
Table of Contents
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 action context parameter | |
entity | The entity to spawn. | An entity initializer |
Example
{ "type": "minecraft:spawn_entity", "position": "target", "entity": { "type": "minecraft:tnt" } }
actions/action_types/spawn_entity.txt · Last modified: 2024/05/06 17:05 by errorcraft