actions:action_types:spawn_entity_from_item
Table of Contents
minecraft:spawn_entity_from_item
The minecraft:spawn_entity_from_item
action spawns an entity at the specified position as defined by the minecraft:entity item component.
This action is unsuccessful if the item stack from the context does not have the minecraft:entity item component or if the entity was not spawned.
Fields
Name | Description | Type | Default Value |
---|---|---|---|
position | The position to target. | An action context parameter |
Example
{ "type": "minecraft:spawn_entity_from_item", "position": "target" }
actions/action_types/spawn_entity_from_item.txt · Last modified: 2024/05/06 17:51 by errorcraft