User Tools

Site Tools


actions:action_types:spawn_entity_from_item

This is an old revision of the document!


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 successful if the item stack from the context has the minecraft:entity item component and if the entity was 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.1715008111.txt.gz · Last modified: 2024/05/06 15:08 by errorcraft