generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 171
Spawn Entity
apace100 edited this page Nov 2, 2020
·
1 revision
Entity Action. Spawns another entity at the position of the target entity.
Type ID: origins:spawn_entity
Fields:
entity_type
, string: The ID of the entity type that will be spawned.
tag
, string, optional: When set, this NBT data will be applied to the new entity when it is spawned.
entity_action
, Entity Action, optional: When set, this action will be executed on the new entity when it is spawned.
Example:
"entity_action": {
"type": "origins:spawn_entity",
"entity_type": "minecraft:zombie",
"tag": "{NoAI:1b,IsBaby:1,HandItems:[{id:\"minecraft:gold_block\",Count:1},{}]}"
}
This action will spawn a baby zombie holding a gold block at the position, without AI (will not move or act in any way).
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types